how to run 1 or more main classes in a jar?
Hi there,
I have 2 or more main classes in a java project. How do I create more than one application entry point in my MANIFEST.INF? I create my jar file from my java project using Eclipse, and it asked me to "Select the class of the application entry point". I was only able to select one main class.
I noticed the MANIFEST.INF file that eclipse generated looks like:
Manifest-Version: 1.0
Main-Class: Automobile
When I tried to run my other classes not specify in the MANIFEST.INF it failed and only look for the Automobile class:
java -jar /tmp/Auto.jar TestMe

