无法让 NetBeans 编译 Java ME

发布于 2024-11-09 07:26:24 字数 890 浏览 0 评论 0原文

在过去的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

冰雪梦之恋 2024-11-16 07:26:24

我的问题通过安装独立的 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

御弟哥哥 2024-11-16 07:26:24

我不知道您如何添加 JME SDK 3,但请检查我的设置

在此处输入图像描述

I do not know how you added JME SDK 3, but check bellow my setup

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文