问题描述:
初次接触J2ME,用eclipse写了个j2me的helloworld程序。运行时模拟器一闪就关了,并报有以下错误:
Warning: Running JAM, Ignoring all other options (but "-Xheapsize", and OTA flags if provided)
Running with storage root C:/Documents and Settings/lichongzhen/j2mewtk/2.5.2/appdb/DefaultColorPhone
Running with locale: Chinese_People's Republic of China.936
Running in the identified_third_party security domain
The MIDlet suite was not found.
Execution completed.
3390707 bytecodes executed
18 thread switches
1665 classes in the system (including system classes)
17353 dynamic objects allocated (521480 bytes)
1 garbage collections (0 bytes collected)
解决方法:
在Eecutable中选择Midlet选项,并在其后的输入框中输入你所写的Midlet名称(包路径),如创建的Midlet的为“/com/HelloWorld.java”,那么在输入框中输入“com.HelloWord”即可。
注:解决方案也是在网上看到的,写下来以便以后遇到同样的问题有所帮助