无法让 NetBeans 编译 Java ME
在过去的 5 个小时里,我一直在尝试编译我的 java ME 应用程序,但没有成功。
系统:
W7 64X
NetBeans 7.0
Java JDK 32X
错误消息:
执行失败,错误代码为 1。
我已执行以下操作尝试修复它。
将 runMidlet 添加到 DEP。 关闭我的防病毒/防火墙。 重新安装并重新启动了 5 次。
以及我在谷歌上找到的东西。
Please edit <javamesdk_installdir>\toolkit-lib\modules\bootstrap\conf\system.properties and reconfigure the device-manager.object-registry.host=localhost to: device-manager.object-registry.host=127.0.0.1
And one other thing that can be the causes for this issue is the Port 1299 might be taken
Please edit <javamesdk_installdir>\toolkit-lib\modules\bootstrap\conf\system.properties and change
device-manager.object-registry.port=1299 to: device-manager.object-registry.port=1999
自从我开始以来唯一改变的是,现在我在 10 秒后收到错误,而之前是在 24 秒后收到错误。
任何形式的帮助表示赞赏!
I've been trying for the past 5 hours to make my java ME application to compile without any luck.
System:
W7 64X
NetBeans 7.0
Java JDK 32X
Error Message:
Execution failed with error code 1.
I've done the following things trying to fix it.
Added runMidlet to DEP.
turned off my anti-virus/firewall.
reinstalled and rebooted 5 times prolly.
and something I found on google.
Please edit <javamesdk_installdir>\toolkit-lib\modules\bootstrap\conf\system.properties and reconfigure the device-manager.object-registry.host=localhost to: device-manager.object-registry.host=127.0.0.1
And one other thing that can be the causes for this issue is the Port 1299 might be taken
Please edit <javamesdk_installdir>\toolkit-lib\modules\bootstrap\conf\system.properties and change
device-manager.object-registry.port=1299 to: device-manager.object-registry.port=1999
the only thing that has changed since I started is that now I get the error after 10 sec and before it was after 24sec.
Any kind of help is appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我的问题通过安装独立的 Java ME SDK http://www 解决.oracle.com/technetwork/java/javame/javamobile/download/sdk/index.html 然后在 netbeans 中转到 Tools > Java 平台然后删除默认的 J2ME 平台,接下来单击添加平台并找到新的 Java ME SDK。
如果仍然失败,请尝试在“工具”> 中卸载 Java ME 插件插件>已安装,然后在可用插件选项卡中安装移动性
mine solved by installing standalone Java ME SDK http://www.oracle.com/technetwork/java/javame/javamobile/download/sdk/index.html then in the netbeans go to Tools > Java Platform then remove default J2ME Platform, next click Add Platforms and locate your new Java ME SDK.
if that still failed try uninstall Java ME Plugin in Tools > Plugins > Installed then install Mobility in Available Plugins Tab
我不知道您如何添加 JME SDK 3,但请检查我的设置
I do not know how you added JME SDK 3, but check bellow my setup