2011-03-29 42 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