当前位置: 代码迷 >> J2ME >> eclipse搭建Java ME平台有关问题
  详细解决方案

eclipse搭建Java ME平台有关问题

热度:8360   发布时间:2013-02-25 21:33:50.0
eclipse搭建Java ME平台问题
刚学java me,我搭建平台时把wtk路径应该是正确设置了,但是一运行程序,控制台给出如下提示,怎么解决
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



------解决方案--------------------------------------------------------
Window-Preference-J2ME-WTK ROOT 改成你2.52的目录 然后在Device Management里面重新导入一下2.52的模拟器就可以了
  相关解决方案