wood burning stoves 2.0
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
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: 127
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="http://www.blogeasy.com/" target="_blank" rel="nofollow">Free Blog</a> | <a href="http://www.blogeasy.com/" target="_blank" rel="nofollow">Free Blog Site</a>
I agree. Here's the link: http://aspose.com/file-tools
subject: classpath to jar files in a folder
jQuery in Action, 3rd edition