I have an application packaged as a jar file, and it uses two other jar files when it runs.
I get it to work with no problem when I add the "Class-Path" header into
the manifest file as follows:
Class-Path: firstFile.jar secondFile.jar
In this scenario, the jar files are located in the same directory as the
jar that I am envoking.
Is there a way for me to place these jars inside of the jar that I am envoking and get it to run?
When I put them inside of my executable jar, the files cannot be found, and I get infamous "java.lang.NoClassDefFoundError" error.
How can I get the classpath to reach into the executable jar?