This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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: 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="" target="_blank" rel="nofollow">Free Blog</a> | <a href="" target="_blank" rel="nofollow">Free Blog Site</a>
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: classpath to jar files in a folder
It's not a secret anymore!