解决一个用eclipse开发j2me的小问题

问题描述:

初次接触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”即可。

注:解决方案也是在网上看到的,写下来以便以后遇到同样的问题有所帮助

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值