File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to define jars in classpath

 
Raymond Lim2
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6920
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Raymond Lim2
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks much -- Sherrif Carver
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic