wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes how to define jars in classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to define jars in classpath" Watch "how to define jars in classpath" New topic
Author

how to define jars in classpath

Raymond Lim2
Greenhorn

Joined: Mar 07, 2001
Posts: 5
If I have a folder that has multiple .jar files inside
Is it possible to set the classpath with one declaration i.e.
set classpath=c:\jar\*.*;
instead of:
set classpath=c:\jar\jar1.jar; c:\jar\jar2.jar;etc...
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
No, but with any Java 2 system, you can put any jars you like in the lib/ext directory of your JRE and they will automatically be picked up as if ther are in the classpath. This is how I load most of my jars.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Raymond Lim2
Greenhorn

Joined: Mar 07, 2001
Posts: 5
Thanks much -- Sherrif Carver
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to define jars in classpath