File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "add zip or jars to classpath" Watch "add zip or jars to classpath" New topic
Author

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
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

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
 
Similar Threads
how to run the Xerces Dom Sample Programs from Apache?
cann't find jar files in jar file
dynamic classpath
calling jasper reports from java
Oracle.jdbc. driver.OracleDriver problem