读书人

一个关于eclipse中run的有关问题

发布时间: 2012-12-17 09:31:40 作者: rapoo

一个关于eclipse中run的问题
我的配置是eclipse3.7.0+eclipseme1.7.9+java me sdk3.0,在run-run configurations时(如图)


在Executable中默认选择Midlet,运行时无模拟器弹出,控制台出现如下字段

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
-Xdescriptor:<JAD file name>
The JAD file to be executed

-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)
-Xquery Print device information
-Xautotest:<JAD file url>
Run in autotest mode

在Executable中选择over the air ,正常运行,但模拟器右下方会多出一个菜单(如图)


控制台也会报错:

Installing suite from: http://localhost:2106/ota/CheckColor/CheckColor.jad

****warning****
****Untrusted user classes must never be put
****on the system class path
****warning****

9250 - ERROR - JSR258 - 3 - Can't create MediaObject: media file (screen.image_bg.png) is not found
9906 - ERROR - JSR258 - 3 - Can't find theme element (feature=activeScreen, role=background)
9906 - ERROR - JSR258 - 3 - Can't find theme element (feature=inputMode, role=backgroundImage)


9921 - CRITICAL - JSR258 - 3 - Can't find Chameleon element (id=161)
9921 - CRITICAL - JSR258 - 3 - Can't find Chameleon element (id=163)
9921 - CRITICAL - JSR258 - 3 - Can't find Chameleon element (id=164)
9921 - CRITICAL - JSR258 - 3 - Can't find Chameleon element (id=165)
9937 - CRITICAL - JSR258 - 3 - Can't find Chameleon element (id=182)
9937 - ERROR - JSR258 - 3 - Can't find theme element (feature=systemMenu, role=selectedItemBackground)
9953 - ERROR - JSR258 - 3 - Can't find theme element (feature=virtualKeyboard, role=virtualKeyboardBGImage)
WARNING - MMA - C:/Builds/jme-sdk/javacall-javame-sdk-305/implementation/share/jsr135_mmapi/ju_mmconfig.c line 801: caps: optional settings missing: SuspendBehavior

请问是什么问题呢,谢谢各位

[最优解释]
推荐使用KEmulator模拟器
[其他解释]
我自己配置的J2ME也是时好时坏,帮楼主顶顶
[其他解释]
基本都是什么什么找不到的问题

9250 - ERROR - JSR258 - 3 - Can't create MediaObject: media file (screen.image_bg.png) is not found

这些资源或者类的路径都是jad中指定的吧
[其他解释]
不知道
[其他解释]
这个帮不到你
就帮顶一下吧
[其他解释]
该回复于2011-11-30 12:31:01被版主删除
[其他解释]
同样的问题~使用的是Netbeans也是这问题~
[其他解释]
今天刚碰到这个问题,http://blog.csdn.net/yuwushen/article/details/6249011
看一下 应该能解决你的问题
[其他解释]
me 2 meets the problem ..netbeans 7
[其他解释]
国外美女?

引用:
me 2 meets the problem ..netbeans 7

读书人网 >J2ME开发

热点推荐