Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

specifying mulitple jars on classpath

529432Jan 5 2007 — edited Jan 6 2007
What is the most convenient way to specify multiple jar files on the classpath? If I have a lib directory with many jar files, it seems like I should be able to specify that directory on the classpath and all jars will be used. But, as I understand the documentaiton of the javac tool, you must specifiy jars specifically. So, this becomes tiresome when a lot of jars are involved. Does anyone have recommendations on how to specify a bunch of jars at once?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 3 2007
Added on Jan 5 2007
3 comments
188 views