2011-03-29 53 views
1

我得到NetBeans中的以下错误:的Java ME的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) 

如果我删除生成的.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

我该怎么办?

回答

1

这通常是由于没有选择任何仿真器。

+0

我想它并不总是这样。还有什么建议?我面临同样的问题。 – 2013-10-21 12:43:19