posted 17 years ago
Hi,
I have created an app which is bundled in a JAR file. This app depends upon other jars, whose names I have provided in the Class-Path header in the MANIFEST file.
Currently, whenever I have to invoke this app, I have to make sure that the dependant jars are also in the same directory. This is quite irritating as there are lots of such dependant jars.
Is there some way I can mention in my MANIFEST the absolute path of dependant jars? Alternatively, if I can define a variable in MANIFEST which can be set when I invoke the jar (say by a command-line option), I can use it to set the jars location.
Thx.