首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2ME开发 >

小弟我是新手 刚搭好环境 运行起来了 用的是在myeclipse中的j2me wtk

2012-11-01 
我是新手 刚搭好环境 运行起来了 用的是在myeclipse中的j2me wtk但是 我点了 项目右键 j2me 下的 create p

我是新手 刚搭好环境 运行起来了 用的是在myeclipse中的j2me wtk
但是 我点了 项目右键 j2me 下的 create package 他就跳出来一个叫错误 

 Errors occurred during the build.
  Errors running builder 'Preverification' on project 'Text'.
  org.eclipse.jdt.internal.core.JavaModel.getTarget(Lorg/eclipse/core/resources/IContainer;Lorg/eclipse/core/runtime/IPath;Z)Ljava/lang/Object;


在这之后 我那项目就运行不起来了 都是

Usage: emulator <command> [<option> ...]

Commands:
  -help Print this usage info and exit
  -version Display version information about the emulator and exit
  -Xmain:<main class name>
  Run the main method of a Java class, as in Java SE
  -Xquery If followed by "-Xdevice" option, prints detailed info
  about the specified device, including the supported
  commands list. By default, prints information about all the
  available devices.
  -Xjam[:install=<JAD file url> | force | list | storageNames |
  run=[<storage name> | <storage number>][,<MIDlet class name>] |
  remove=[<storage name> | <storage number> | all] |
  transient=<JAD file url>]
  Java Application Manager and support
  for Over The Air provisioning (OTA)
  -Xutility:UtilityName[,<argument>[,...]]
  Run a utility
  -Xxlet:classpath=<class path>,class=<fully qualified name>[,arg=<argument>]*
  Run Xlet application
  Options
  classpath The class path containing Xlet
  class The fully qualified name of the Xlet to be executed
  arg An argument to be passed to the Xlet context

  -Xautotest:<JAD file url>
  Run in autotest mode
  Generic options you CANNOT use with this command:
  -Xdebug
  -Xrunjdwp:<JDWP options>
  -Xprofile
  -Xnetmon
  -Xdescriptor:<JAD file name>
  The JAD file to be executed

Generic options:
  -classpath <class_path> | -cp <class_path>
  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_name> 
  Use the specified device. If this option is omitted, the
  default device is used, except for the command -Xquery.
  Please note that every device supports a limited set of
  commands, not all the ones listed above! To list the
  commands supported by this device run:
  emulator.exe -Xquery -Xdevice:<device_name>
  -Xdomain:<domain_name>
  Set the MIDlet suite's security domain
  -Xmemmon
  Enable memory monitor.
  -Xnetmon[:suspend=y|n]
  Enable netwok monitor. The "suspend" option means whether
  to suspend the application run until network monitor
  connects.
  -Xprofile[:system=<y/n>,file=<file>]
  profile the application CPU usage
  Options (all of them optional):
  system Whether to profile system classes.


  Default value is n (only user classes are profiled)
  file CPU profiler snapshot will be stored to the specified file,
  %d in file name will be replaced by snapshot number.
  If not specified, profiler data will not be stored to a
  file, just passed to a connected profiler if any is present
  -Xscript:<file name>
  The script file to be executed

Examples:
  1. emulator.exe -Xquery
  Query for all the available devices and info about them
  2. emulator.exe -Xquery -Xdevice:JavaMEPhone1
  Query for info about the device "JavaMEPhone1",
  including its capabilities and the emulator commands
  supported on it
  3. emulator.exe -Xjam -Xdevice:JavaMEPhone1
  Run the device "JavaMEPhone1" emulator
  4. emulator.exe -Xautotest:http://127.0.0.1:8080/test/getNextApp.jad
  Runs the series of tests from
  http://127.0.0.1:8080/test/getNextApp.jad
  5. emulator.exe -Xdescriptor:C:\projects\NetBeansStuff\HelloCldcWorld\
  \dist\HelloCldcWorld.jad
  Runs the MIDlet represented by the JAD file C:\projects\
  \NetBeansStuff\HelloCldcWorld\dist\HelloCldcWorld.jad



求帮助 怎么解决 我只是想把项目运行起来 。。。


[解决办法]
弄了这个就运行不起来了啊??之前能运行啊

热点排行