Register / Login
Win a copy of
Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA)
this week in the
Developer Certification (OCMJD)
Setting classpath for Jar file inside jar file
posted 11 years ago
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
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.
jar classpath help
Custom order when loading jar files
setting classpath for jar file inside jar file
Unable to find shared jar in WSAD 5.1.2's WebSphere 5.0 Test Environment