我的eclipse伽利略是最新版的(实时更新的)。eclipseme也是最新的,我安装了java micro edition 3。用javame自带的ide环境可以运行模拟器并调试。可是我喜欢eclipse的编辑环境。所以按照eclipseme网站上提示的步骤安装和设置。也建立了一个简单的工程(代码复制于javame3能够运行的代码)。问题出在单击run按钮边的下三角,下拉菜单显示
1 helloMiDlet
run as
run configurations..
organize favorites
单击 1 helloMiDlet不出现模拟器,而是在console出现一些文字。显示内容如下:
Syntax:
emulator [arguments]
In order to get commands supported by given device run:
emulator.exe -Xdevice:<device name> -Xquery
Generic list of arguments is:
-version Display version information about the emulator
-help Display list of valid arguments
-classpath, -cp The class path for the VM
-D<name>=<value> Set a system property
-Xdebug Use a remote debugger
-Xrunjdwp:[transport=<transport>,address=<address>,server=<y/n>
suspend=<y/n>]
Debugging options
-Xdevice:<device> Select a device skin for the emulator
-Xdomain:<domain_name>
Set the MIDlet suite's security domain
-Xquery Print device information
-Xjam[:install=<JAD file url> | force | list | storageNames |
run=[<storage name> | <storage number>] |
remove=[<storage name> | <storage number> | all]]
Java Application Manager and support
for Over The Air provisioning (OTA)
-Xautotest:<JAD file url>
Run in autotest mode
-Xdescriptor:<JAD file name>
The JAD file to be executed
而我单击debug按钮边的下拉三角,单击1 HelloMIDlet,出现模拟器,屏幕显示两条:
install applications
manage certificate.....
单击install applications,要我输入website。
请各位帮助我,为什么不能启动java程序
------解决方案--------------------
LZ不知你问题解决没,没解决看http://forums.sun.com/thread.jspa?threadID=5402760 里面有解决的方法,我也是照着上面做就ok了