ClassFormatError compiling and running a Java (Mobile) prog? [message #739768] |
Mon, 17 October 2011 20:52 |
Alex Kerr Messages: 18 Registered: October 2009 |
Junior Member |
|
|
When I run a Java Mobile program (CLDC 1.0, MIDP 2.0) I've been writing I get the following output (see below) from the JavaME Platform SDK 3.0 JavaME phone emulator, in the Eclipse Console. However, when I run exactly the same code in Netbeans 7.0, also using the exact same Java Platform SDK emulator, everything just runs as it should. Weird!
Anyone got any clues please? Thank you.
Output in Eclipse console:
Installing suite from: http://127.0.0.1:64391/AlphaMobile.jad
****warning****
****Untrusted user classes must never be put
****on the system class path
****warning****
TRACE: <at java.lang.Error: ClassFormatError: 154>, startApp threw an Exception
java.lang.Error: ClassFormatError: 154
- java.lang.Class.invoke_verify(), bci=0
- java.lang.Class.initialize(), bci=117
- AlphaMain.startApp(), bci=0
- javax.microedition.midlet.MIDletTunnelImpl.callStartApp(), bci=1
- com.sun.midp.midlet.MIDletPeer.startApp(), bci=7
- com.sun.midp.midlet.MIDletStateHandler.startSuite(), bci=269
- com.sun.midp.main.AbstractMIDletSuiteLoader.startSuite(), bci=52
- com.sun.midp.main.CldcMIDletSuiteLoader.startSuite(), bci=8
- com.sun.midp.main.AbstractMIDletSuiteLoader.runMIDletSuite(), bci=161
- com.sun.midp.main.AppIsolateMIDletSuiteLoader.main(), bci=26
java.lang.Error: ClassFormatError: 154
- java.lang.Class.invoke_verify(), bci=0
- java.lang.Class.initialize(), bci=117
- AlphaMain.startApp(), bci=0
- javax.microedition.midlet.MIDletTunnelImpl.callStartApp(), bci=1
- com.sun.midp.midlet.MIDletPeer.startApp(), bci=7
- com.sun.midp.midlet.MIDletStateHandler.startSuite(), bci=269
- com.sun.midp.main.AbstractMIDletSuiteLoader.startSuite(), bci=52
- com.sun.midp.main.CldcMIDletSuiteLoader.startSuite(), bci=8
- com.sun.midp.main.AbstractMIDletSuiteLoader.runMIDletSuite(), bci=161
- com.sun.midp.main.AppIsolateMIDletSuiteLoader.main(), bci=26
[Updated on: Mon, 17 October 2011 20:57] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03187 seconds