j2me 出现的问题及解决办法

来源:互联网 发布:我的世界0.14创世神js 编辑:程序博客网 时间:2024/04/27 15:49

选择“run main project via OTA”时,模拟器在安装时出现错误,j2mesdk 出现以下错误提示: 这是第二次碰到这个问题了

Jad URL for OTA execution: http://localhost:8083/servlet/org.netbeans.modules.mobility.project.jam.JAMServlet/E%3A/develop/j2me/begain/dist//begain.jadStarting emulator in execution modeInstalling suite from: http://127.0.0.1:4160/begain.jad*** Error ***A problem occured during deploying application from http://127.0.0.1:4160/begain.jadReason:Uknown error: InvalidJadException: Reason = 36Cannot process "-Xjam:run=" command.You must supply a parameter for "run" command!Syntax:emulator [arguments]In order to get commands supported by given device run:emulator.exe -Xdevice:<device name> -XqueryGeneric 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 executedE:\develop\j2me\begain\nbproject\build-impl.xml:629: Execution failed with error code 1.BUILD FAILED (total time: 26 seconds)


======================================================================================

根据提示,初步判断应该是没有生成对应的jad文件。--------->但是在dist文件夹中找到了对应的jad文件。求解!

原创粉丝点击