无法连接到J2ME设备仿真器 [英] Unable to connect to j2me device emulator

查看:52
本文介绍了无法连接到J2ME设备仿真器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在测试Midlet时遇到麻烦.我正在使用j2me sdk 3,Midlet构建成功,但是当我尝试运行它时,它失败了,并且它在日志中显示以下消息:

无法连接到设备{0}!
原因:
模拟器{0}在等待注册时终止!

解决方案

我遇到了同样的问题.在下一个系统上,重新启动,那里关于runMidlet的消息由于DEP(数据执行保护)而崩溃.

关闭DEP后,一切都开始正常运行.

如果有帮助,请使用Win2003 Java ME SDK 3.0.

更新: 我建议关闭所有程序的DEP(这是仅对基本Windows程序和服务打开DEP"选项). 在我的情况下,为单个runMidlet.exe关闭DEP只是暂时的效果.

另请参见 Java ME SDK团队博客条目

I am having trouble in testing a Midlet. I am using j2me sdk 3, the Midlet builds successfully, but when i try to run it, it fails and it shows the following message in the log:

Failed to connect to device {0}!
Reason:
Emulator {0} terminated while waiting for it to register!

解决方案

I had the same problem. On the next system restart there where message about runMidlet crash due to DEP (Data Execution Prevention).

After turning off DEP all started to work perfect.

In case it could help, it was on Win2003, Java ME SDK 3.0.

UPDATE: I advise to turn off DEP for all programs (it is "Turn on DEP for essential Windows programs and services only" option). In my case turning off DEP for single runMidlet.exe had only temporary effect.

See also Java ME SDK Team blog entry on this

这篇关于无法连接到J2ME设备仿真器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆