A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
Java in General
setting classpath for jar file inside jar file
Joined: Feb 23, 2004
Mar 04, 2005 02:52: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.
Joined: Jan 08, 2005
Mar 05, 2005 06:54:00
Keep the JARs separate and add them separately to the classpath.
I agree. Here's the link:
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
Custom order when loading jar files
Setting classpath for Jar file inside jar file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014