aspose file tools*
The moose likes Java in General and the fly likes classpath to jar files in a folder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "classpath to jar files in a folder" Watch "classpath to jar files in a folder" New topic

classpath to jar files in a folder

Thomas Greene
Ranch Hand

Joined: Aug 09, 2004
Posts: 125
There are a few jar files in a folder. If i set classpath to the folder will all the jar files be accessible. Or do i have to set the classpath to each jar file seperately.
smitha verghese
Ranch Hand

Joined: Jun 21, 2003
Posts: 42
set the classpath for all the jar files as it should refer to the jar file only.
Joel Naten

Joined: Aug 07, 2004
Posts: 5
Or you can create dynamic classloaders to pull in all the jar files from a directory.

<a href="" target="_blank" rel="nofollow">Free Blog</a> | <a href="" target="_blank" rel="nofollow">Free Blog Site</a>
I agree. Here's the link:
subject: classpath to jar files in a folder