I created an executable JAR with a manifest:
Manifest-Version: 1.0 Main-Class: MyClass Class-Path: lib/ext.jar
I can successfully run this JAR if I have a lib folder with dependent ext.jar in the .jar folder.
I would like to embed ext.jar in my executable JAR to run it anywhere without creating a lib folder. This would allow the JAR file to be autonomous, including all its dependencies.
Is there any way to do this?
source share