Yes the class does inherit from Midlet. I was able to do exactly the same thing on my Windows Eclipse but the problem is with the Eclipse on Ubuntu.

I typed the first letter of my class name and the midlet class appeared but when I ran the program it gave a ClassNotFoundException on the same class.

On 7/25/06, Craig Setera <[EMAIL PROTECTED]> wrote:
Tabish,

I cannot recreate your running errors.  Are you sure that your class is
subclassed from MIDlet?

As you say, the other problem is unrelated to this.  As I said before,
you need to make sure that you have an increasing version number in your
MIDlet JAD file.  If you have installed version 1.0.15 on the emulator,
then you must install something greater than this.  As I mentioned
previously, you can get help from this by enabling the "Increment
Version Automatically" setting on the packaging preferences.  This is
documented in the user documentation
http://eclipseme.org/docs/refPrefJ2ME.html#packaging .

Craig

Tabish F. Mufti wrote:
> No I do not get the class as I type the first letter.
>
> I'm assuming there are 2 ways of running the project. One through OTA
> and the other by directly mentioning the executable.
>
> I'm unable to run both ways. So the following error is separate from
> the discussion of not being able to see the Midlet class in the
> "Choose Midlet" box.
>
> Warning: Running JAM, Ignoring all other options (but "-Xheapsize",
> and OTA flags if provided)
> Debugging not available in OTA mode (Except for -Xjam:run)
> Running with storage root MediaControlSkin
> ** Error installing suite (39): The JAD matches a version of a suite
> already installed.
> Execution completed.
>
> On 7/23/06, *Craig Setera* < [EMAIL PROTECTED]
> <mailto: [EMAIL PROTECTED]>> wrote:
>
>     If you type in the first letter of the Midlet class name, does it
>     select
>     your class in the box below?
>
>     The error you are talking about is not due to the fact that your
>     midlet
>     class is not part of the JAD, it is because the same version of the
>     JAD/JAR is being installed again to the phone.  You can tell
>     EclipseME
>     to automatically increment the version number each time it is packaged
>     using the preferences:
>     http://eclipseme.org/docs/refPrefJ2ME.html#packaging
>
>     Craig
>
>     Tabish F. Mufti wrote:
>     > In the application descriptor editor when I click on the "Add"
>     Button
>     > "New Midlet" appears under the name heading but when I click on the
>     > Elipsis (...) button under the "Class" heading no class appers
>     in the
>     > opened "Choose Midlet" box, although I have made a midlet class
>     in the
>     > project.
>     >
>     > So for this reason I'm unable to run the app and get the
>     > ClassNotFoundException.
>     >
>     > I tried running using OTA but I get the following:
>     >
>     > Warning: Running JAM, Ignoring all other options (but "-Xheapsize",
>     > and OTA flags if provided)
>     > Debugging not available in OTA mode (Except for -Xjam:run)
>     > Running with storage root MediaControlSkin
>     > ** Error installing suite (39): The JAD matches a version of a suite
>     > already installed.
>     > Execution completed.
>     >
>     >
>     > Please help I've followed the walkthroughs on the eclipseme
>     website to
>     > create a helloworld app but i'm unable to run it.
>     >
>     ------------------------------------------------------------------------
>     >
>     >
>     -------------------------------------------------------------------------
>
>     > Take Surveys. Earn Cash. Influence the Future of IT
>     > Join SourceForge.net's Techsay panel and you'll get the chance
>     to share your
>     > opinions on IT & business topics through brief surveys -- and
>     earn cash
>     >
>     http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>     <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
>     >
>     ------------------------------------------------------------------------
>
>     >
>     > _______________________________________________
>     > Eclipseme-users mailing list
>     > [email protected]
>     <mailto:[email protected] >
>     > https://lists.sourceforge.net/lists/listinfo/eclipseme-users
>     >
>
>     -------------------------------------------------------------------------
>     Take Surveys. Earn Cash. Influence the Future of IT
>     Join SourceForge.net 's Techsay panel and you'll get the chance to
>     share your
>     opinions on IT & business topics through brief surveys -- and earn
>     cash
>     http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>     < http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
>     _______________________________________________
>     Eclipseme-users mailing list
>     [email protected]
>     <mailto: [email protected]>
>     https://lists.sourceforge.net/lists/listinfo/eclipseme-users
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ------------------------------------------------------------------------
>
> _______________________________________________
> Eclipseme-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/eclipseme-users
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users

Reply via email to