This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread 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 Murach's Java Servlets and JSP this week in the Servlets 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
 
wood burning stoves
 
subject: When the Classpaths in MANIFEST.MF file are used
 
Similar Threads
packing maven-plugin not creating MANIFEST file
Information regarding Jar files
RMI UnmarshalException when starting RMI server -
JBoss class loading and reading .properties files
NoClassDefFoundError on application Jar