RTFM. 
http://eclipseme.org/docs/jadeditor.html
http://developers.sun.com/techtopics/mobility/midp/articles/getstart/index.html
 
The "JAD" file that accompanies the JAR file contains at least one "MIDlet-<n>" entry which specifies the name, initial class and optional icon for a MIDlet within a MIDlet suite.  This information is usually repeated in the manifest of the JAR file.
 
In the case of EclipseME, you specify this using the "MIDlets" tab of the JAD editor.  If you created the MIDlet using the EclipseME wizard (New / Other / J2ME / J2ME Midlet) this entry can be created for you automatically by making sure the "Add to Application Descriptor" box is checked.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Miguel Menchu
Sent: Monday, April 03, 2006 9:57 PM
To: [email protected]
Subject: [Eclipseme-users] midlet's main class

   I was wondering how one specifies the main class (meaning the point of entry to the program) when there are several classes
within the midlet suite that implement the startApp() "main method"? Is there any field in the .jad file to indicate which class we're
interested in having as our "main class"? When packing a jar file in Eclipse one specifies which class is the "main" class... but
when packing my .jad & .jar j2me files EclipseME does not ask me which one I want as my entry point to my app. Thanks.

- Miguel.

Reply via email to