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 Developer Certification (SCJD/OCMJD) and the fly likes Setting classpath for Jar file inside jar file 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 » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Setting classpath for Jar file inside jar file" Watch "Setting classpath for Jar file inside jar file" New topic
Author

Setting classpath for Jar file inside jar file

Sujay Kamble
Greenhorn

Joined: Feb 23, 2004
Posts: 5
Hello,
I have a jar file named A.jar. This A.jar contains a java class Trial.class, Manifest.mf and B.jar. Trial.class uses the B.jar file. How should i set the path of B.jar file in Manifest.mf.

As expected, if i keep B.jar file in the same directory as A.jar and give "CLASS-PATH: B.jar" in Manifest.mf, then it works. But i want to include this B.jar file in A.jar file.

Please help me solve this problem.

Sujay
 
Consider Paul's rocket mass heater.
 
subject: Setting classpath for Jar file inside jar file
 
Similar Threads
Custom order when loading jar files
jar file
Unable to find shared jar in WSAD 5.1.2's WebSphere 5.0 Test Environment
jar classpath help
setting classpath for jar file inside jar file