开发者

cant't get NetBeans to compile Java ME

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!


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


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

cant't get NetBeans to compile Java ME

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜