This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
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