如何在 NetBeans IDE 6.7.1 中安装 J2ME 兼容平台/模拟器

发布于 2024-08-08 21:33:46 字数 431 浏览 2 评论 0原文

我对 J2ME 开发环境还很陌生。就此而言,最近刚刚在 Ubuntu 9.04 机器上安装了与 NetBeans 6.7.1 IDE 和 Sun WTK 2.5.2 捆绑在一起的 JDK 6 update 16。在浏览了来自各个站点的一些启动教程和基础知识后,我很渴望通过编写一些“Hello World”程序来尝试一些实践经验。但令我沮丧的是,我没能做到!经过最初的困惑之后,我为 NetBeans IDE 安装了“Mobility”插件以进行 J2ME 开发。但是当我选择创建一个新项目时,发现出现了一些错误,因为现在它显示“在 NetBeans IDE 中未找到安装的 J2ME 兼容平台/模拟器”。我已经通过谷歌搜索找到解决此问题的方法,但我找不到任何关于此问题的解决方案。 请帮我解决这个问题。我需要重新安装IDE吗?我错过了什么吗?我尝试了各种方法,但 IDE 根本没有检测到我的计算机上的任何平台。

感谢您的帮助。

I'm pretty new to J2ME development scene. And for that matter, have just recently installed, JDK 6 update 16 bundled with NetBeans 6.7.1 IDE and Sun WTK 2.5.2, on Ubuntu 9.04 machine.After going through some start up tutorials and basics, from various sites, I was eager to try some hands on experience by coding some 'Hello World' program. But to my dismay, I haven't been able to! After initial confusion, I'd installed 'Mobility' plugin for NetBeans IDE for J2ME development. But when I choose to create a new project, it turned out that, there is some error since now it says that 'No J2ME compatible platform/emulator found installed in NetBeans IDE'. I've searched through google to find a way to fix this issue but I couldn't find any solution on this matter.
Please help me to fix this issue. Do I need to re-install the IDE? Am I missing out something? I've tried various ways but the IDE simply doesn't detect any platform on my machine.

Thanks for your help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

谁对谁错谁最难过 2024-08-15 21:33:46

在 Netbeans 中尝试此操作:

单击菜单项:工具 -> Java 平台

单击按钮:添加平台...

选择单选按钮:Java ME MIDP Platform Emulator
然后单击按钮:下一步>

找到Netbeans 6.7.1的安装目录
然后单击确定

Netbeans 附带的 WTK2.5.2 应该可见。选择它并单击“下一步”并按照进一步的说明进行操作。

如果没有找到WTK,请下载它,解压它并再次尝试如上所述,但这次找到WTK的目录。

希望这有帮助。

Try this in Netbeans:

Click menu-item: Tools->Java Platforms

Click button: Add platform...

Choose radio-button: Java ME MIDP Platform Emulator
then click button: Next >

Find the directory where Netbeans 6.7.1 is installed
then click OK

WTK2.5.2 that comes with Netbeans should be visible. Select it and click Next and follow further instructions.

If no WTK is found the dowload it, unpack it and try as above again but find the directory to the WTK this time.

Hope this helps.

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