Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343255 - Programs doesn't run outside
Summary: Programs doesn't run outside
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: JDT
Classification: Eclipse Project
Component: APT (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Generic inbox for the JDT-APT component CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-19 06:27 EDT by Valtteri Tastula CLA
Modified: 2011-04-20 03:11 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.