Hi all, I am developing my first MIDlet using Eclipse 3.3 and EclipseME 1.7.9. The development started fairly smoothly, and I managed to run the important demos in the Sun WTK 2.5.2, I recently ran into some weird problems that no amount of Googling could solve. It all began when I made a lot of changes to the source code of my own application, and wanted to see how it worked in the emulator. When I ran the project, none of the changes showed up, and I would still see some sysout prints that I had removed long ago. I then went into the Eclipse workspace, and removed the content of the /bin directory, thinking that it would recompile everything from the source.
Instead, I started running into these errors: Running with storage root /home/graffiti/j2mewtk/2.5.2/appdb/DefaultColorPhone Running with locale: en_US.UTF-8 Running in the untrusted security domain java.lang.ClassNotFoundException: org/berk/GroceryList at com.sun.midp.midlet.MIDletState.createMIDlet(+29) at com.sun.midp.midlet.Scheduler.schedule(+52) at com.sun.midp.main.Main.runLocalClass(+28) at com.sun.midp.main.Main.main(+80) Execution completed. 2755738 bytecodes executed 40 thread switches 1665 classes in the system (including system classes) 14243 dynamic objects allocated (437872 bytes) 1 garbage collections (0 bytes collected) Somebody else had a similar problem, and they proposed including the /bin directory as an "Extra Emulator Parameter" using the -cp switch. When I do, the emulator does manage to find the class, but I get the following error instead: Running with storage root /home/graffiti/j2mewtk/2.5.2/appdb/DefaultColorPhone Running with locale: en_US.UTF-8 Running in the untrusted security domain Error verifying method org/berk/GroceryList startApp()V [...] ALERT: java/lang/VerifyError: org/berk/GroceryList. Execution completed. 2750987 bytecodes executed 32 thread switches 1666 classes in the system (including system classes) 14313 dynamic objects allocated (438588 bytes) 2 garbage collections (378116 bytes collected). I really do not know what else I can try, or what other diagnostic information I can send you that could be of help. I heard the log mode of EclipseME could be useful, but I couldn't find a way of enabling it. If you have any leads, please let me know, Sincerely, Berk ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Eclipseme-users mailing list Eclipseme-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/eclipseme-users