File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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.
I agree. Here's the link:
subject: add zip or jars to classpath
jQuery in Action, 3rd edition