This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum 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
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply 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: 114
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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: When the Classpaths in MANIFEST.MF file are used
 
Similar Threads
RMI UnmarshalException when starting RMI server -
JBoss class loading and reading .properties files
NoClassDefFoundError on application Jar
Information regarding Jar files
packing maven-plugin not creating MANIFEST file