Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343255

Summary: Programs doesn't run outside
Product: [Eclipse Project] JDT Reporter: Valtteri Tastula <thevallu>
Component: APTAssignee: Generic inbox for the JDT-APT component <jdt-apt-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: eclipse, remy.suen
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Valtteri Tastula CLA 2011-04-19 06:27:43 EDT
Build Identifier: 20110218-0911

My program doesn't run outside Eclipse. I did it with a tutorial http://www.vogella.de/articles/Eclipse/article.html#firstjava. My java virtual machine launcher just says: "Failed to load Main-Class manifest attribute from C:\Users\TheVallu\workspace\FirstProg.jar". Help!

-TheVallu

Reproducible: Always
Comment 1 Remy Suen CLA 2011-04-19 12:58:53 EDT
Please ask for help regarding how to use Eclipse and the exporting of jars in the forums. Bugzilla is not the place for this.
http://www.eclipse.org/forums
Comment 2 Walter Harley CLA 2011-04-20 03:11:48 EDT
As Remy suggests, this does not sound like an Eclipse bug, and it is certainly not a bug with annotation processing, the component you assigned it to.  It sounds like you need to specify a main class in your manifest, or you are using the wrong command line syntax to invoke your program.