Related questions
include external jar when running java -jar
From my readings, when you execute a command as follows:
java -jar foo.jar
Then the main classpath is ignored, and the classpath is taken from the manifest file.
Further, the classpath declared on the command line is also ignored. …
"No Main Manifest Attribute" in ----.jar Netbeans
I recently just started toying around with Maven in java. Time comes to test my project, it works fine in the NetBeans window, running the main class found in App.java (com.MyCompany.App), but when I try to run …
How to build a jar using an own MANIFEST.MF in Eclipse
I have a custom MANIFEST.MF in my java-project in Eclipse.
When exporting the project to a jar, I choose
Use existing manifest from workspace
Extracting the .jar shows that eclipse generated its own manifest.
My manifest:
Manifest-Version: 1.0
Main-Class: de.…