I am using the J2ME Wirless Toolkit(WT) and using JEdit as my Source Editor. I have copied an example of a Hello Program and saved it as HelloWorldMIDlet.java.
On J2ME WT
* created a New project called HelloSer60 and gave the class name HelloWorldMIDlet.
Compiled the program and got rid of syntax errors using J2ME.
After Compiling all errors J2ME reports the following:
Emulator: Missing JAR file.
Emulator command: D:\WTK20\wtklib\devices\Series_60_MIDP_SDK_for_Symbian_OS_v_1_2_1\bin\Series_60_MIDP_SDK_for_Symbian_OS_v_1_2_1\epoc32\release\wins\udeb\kmidp_debug.exe -parent_port 2810 -classpath D:Series_60_MIDP_SDK_for_Symbian_OS_v_1_2_1\lib\Series_60_MIDP_SDK_for_Symbian_OS_v_1_2_1\j2me-debug.zip -descripter c:\tmp\midp\HelloSer60.jad HelloSer60
java.lang.NullPointerException
at com.symbian.midp.compatibility.runtime.MIDletExecutor.runMIDlet(+131)
at com.symbian.midp.compatibility.runtime.MIDletMain.runFirstMIDlet(+77)
at com.symbian.midp.compatibility.runtime.MIDletMain.run(+346)
at com.sun.midp.midlet.Main.main(+56)
*First of all i need the JAR file, how do i create the JAR file?
*And then there is the java.lang.NullPointerException
How can i get round this, any help id be most grateful for any input.
L. Tambiah
United Kingdom

Reply With Quote

