有谁知道这是为什么?
大家好,我用Eclipse3.0+WTK2.2进行j2me的开发学习.
使用MIDP1.0的时候能正常编译执行,但换成MIDP2.0的时候没写任何代码直接运行框架都会报错,不知道是什么原因.提示信息为:
"Warning: Running JAM, Ignoring all other options (but "-Xheapsize", and OTA flags if provided)
Running with storage root DefaultColorPhone
** Error installing suite (36): Corrupt JAR, error while reading: example.class
Execution completed.
191761 bytecodes executed
4 thread switches
738 classes in the system (including system classes)
1153 dynamic objects allocated (50512 bytes)
1 garbage collections (0 bytes collected)"
按照向导建立的框架程序,没加代码.如果是MIDP1.0的话就会出现模拟器的窗口,MIDP2.0的话就会报错.
而且好象在建工程的时候如果建的是MIDP2.0的话在Package Explorer里面工程文件夹都有个小*,不知道是哪里出错了.这个肯定不是代码的问题.