Skip to Main Content

Java Programming

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!

MIDlet JAR File (error : Failed to load main-class manifest attribute .)

807589Sep 7 2008 — edited Sep 7 2008
hey all,
I`ev started learning J2ME and im using NetBeans IDE , my problem is that my projects run fine in the IDE but when i double-click the JAR file (that is automatically created by NetBeans ) or when i run it using the command line an error comes up which is :
Failed to load main-class manifest attribute from ..
but my project dosn`t have a main class (public static void main (String args[] )!!! it only have MIDlet class !!
please any thoughts ?!?
thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 5 2008
Added on Sep 7 2008
1 comment
864 views