Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Manifest File

843789Jun 11 2010 — edited Jun 15 2010
I am running netbeans and have no problem compiling, and running in the netbeans environment.
When I try to do a "clean and build" and run the jar I receive this error: "Failed to load Main-Class manifest attribute from.. SRAG.jar" when running the jar.

I believe this is because I do not have a Manifest File.
Could someone explain how to create a Manifest File, how to use it, and if this is the error.

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 13 2010
Added on Jun 11 2010
7 comments
497 views