| can't run jar file [message #907325] |
Mon, 03 September 2012 15:13  |
karl neumann Messages: 2 Registered: August 2012 |
Junior Member |
|
|
|
After having developed my first java applet which runs great in eclipse, I exported the project to a jar file. When I try to run the jar file from a command prompt I get: "no main manifest attribute, in MyClass.jar". I added the following line to the MANIFEST.MF file: Main-Class:org.eclipse.jdt.MyClass . I still get the same message when trying to run the jar file. I am not sure about the org.eclipse.jdt part. It's a guess. What am I doing wrong? Another observation, the MyClass.java source file does not have a main() or init() method. I don't know if that is relevant or not. I am at wits end trying to figure this out. Please help!
|
|
|
|
Powered by
FUDForum. Page generated in 0.01945 seconds