0

when I am trying to run the jar file is give me the message fail to load Main-Class manifest attribute from..... I am programming using netbeans IDE 5.5 any help

6
Contributors
9
Replies
10
Views
9 Years
Discussion Span
Last Post by teklu
0

just check out the manifest file

In that manifest file specify your main class correctly. then it will work fine

0

as I describe I am using netbeans and when I try to modify the netbeans created manifest.mf and compile it . and then try to compile it complaines "corrupted file" when trying to run double clicking the jar file .

0

guys thanks very much I got the solution . in netbeans5.5 simply in the project properties select the run panel and enter the main class name then build the project that is all .

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.