A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Developer Certification (SCJD/OCMJD)
Setting classpath for Jar file inside jar file
Joined: Feb 23, 2004
Mar 03, 2005 06:47:00
I have a jar file named A.jar. This A.jar contains a
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.
It is sorta covered in the
JavaRanch Style Guide
subject: Setting classpath for Jar file inside 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
Custom order when loading jar files
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014