This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Java in General and the fly likes add zip or jars to classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "add zip or jars to classpath" Watch "add zip or jars to classpath" New topic

add zip or jars to classpath

Raj Ohadi
Ranch Hand

Joined: Jun 30, 2006
Posts: 316
I have many jar files that need to be added into classpath. I am wondering what if I zip these jar files into a .zip file and add the single .zip to classpath, does that make sense and why ? thanks
Martijn Verburg

Joined: Jun 24, 2003
Posts: 3275

I'm not sure that would work, in fact I'm 99.99% sure that would not work

Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
It is sorta covered in the JavaRanch Style Guide.
subject: add zip or jars to classpath
It's not a secret anymore!