日期:2014-05-20  浏览次数:20589 次

急急急!eclipse开发J2me
本人将J2Me的插件集成到了Eclipse中了,也安装了sun 的wtk,以及jdk,可是在运行的时候在控制台上总是出现这个提示,模拟器也起不来,导致俺的程序总是不能运行。。。

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


是不是俺那里还没有配好啊?
------解决方案--------------------
估计是你JDK配置有问题吧,cmd到DOS,然后javac 看是不是出现帮助参数,如果出现,说明你JDK安装正确;
------解决方案--------------------
这错误还没遇到过,
你建的是的j2me工程吗?
你有没有选择模拟器了。
------解决方案--------------------
 换做我。。难找的话。。。。重新按照顺序配置环境。。。。
------解决方案--------------------
没有导入模拟器吧...
Window-->Preferences-->J2ME-->Device Managment
看看里面有没有模拟器
没有就Import-->Borwse..-->找到WTK目录-->确定-->Refresh-->Finish
------解决方案--------------------
看楼主有出现这提示应该说明,ECLIPSEME插件成功安装,并且项目设置了
模拟器了
你看一下是不是JAR/JAD文件的文件关联没弄发了.
在电脑上直接看JAD文件能不能用默认模拟器打开.
------解决方案--------------------
我有重新来了一个新版的eclipse,就可以了。我也不知道是怎么回事...