This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes EJB and other Java EE Technologies and the fly likes When the Classpaths in MANIFEST.MF file are used 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 » EJB and other Java EE Technologies
Bookmark "When the Classpaths in MANIFEST.MF file are used" Watch "When the Classpaths in MANIFEST.MF file are used" New topic
Author

When the Classpaths in MANIFEST.MF file are used

Tejas Jain
Ranch Hand

Joined: Mar 04, 2008
Posts: 119
Do we have to specify the classpaths in MANIFEST.MF file? My server will load all the jar files in the lib directory automatically
w/o using the calsspaths in MANIFEST.MF file.

When and why the Classpaths in MANIFEST.MF file are used? What if there are conflicts between the files list in the classpaths of MANIFEST.MF
and the jars in the lib directory?


"Knowing is not enough, you must apply... Willing is not enough, you must do."
--Bruce Lee
Pallav Bora
Ranch Hand

Joined: Oct 13, 2009
Posts: 73
Hi Todd,

I think the following article will answer your questions:

http://java.sun.com/j2ee/verified/packaging.html

Pallav
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: When the Classpaths in MANIFEST.MF file are used