Java ME Netbeans - 平台主页未设置
我在 Netbeans 中收到以下错误:
Platform home (platform.home property) is not set. Value of this property should be Sun Java(TM) Wireless Toolkit 2.5.2_01 for CLDC emulator home directory location.
BUILD FAILED (total time: 0 seconds)
如果我删除 build .xml 中的 57. 行,
<fail unless="platform.home">Platform home (platform.home property) is not set. Value of this property should be ${platform.active.description} emulator home directory location.</fail>
则缺少以下内容
package javax.microedition.io does not exist
import javax.microedition.io.Connector;
我使用 Netbeans 6.9.1,安装了 java JDK 1.6 update 24,并且还安装了 Java ME SDK 3.0
我应该做什么做什么?
I get the following error in Netbeans:
Platform home (platform.home property) is not set. Value of this property should be Sun Java(TM) Wireless Toolkit 2.5.2_01 for CLDC emulator home directory location.
BUILD FAILED (total time: 0 seconds)
if I delete 57. row in build .xml
<fail unless="platform.home">Platform home (platform.home property) is not set. Value of this property should be ${platform.active.description} emulator home directory location.</fail>
I got the following is missing
package javax.microedition.io does not exist
import javax.microedition.io.Connector;
I use Netbeans 6.9.1, java JDK 1.6 update 24 is installed, and Java ME SDK 3.0 is also installed
What I should to do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这通常是由于没有选择任何模拟器造成的。
This is usually due to not having any emulator chosen.