Need Help in compiling jxme demo
I am a new to JXTA/JXME and have tried to compile/run chat demo, but failed both.
Based on the instructions given in http://developers.sun.com/mobility/midp/articles/jxme/, I made a folder called Java at C:\Java and installed J2SE, Wireless Toolkit, Ant, and JXME(downloaded the ubversion) in it.
(C:\Java\jdk1.6.0_14, C:\WTK2.5.2_01, C:\Java\Ant, and C:\Java\jxta-jxme)
I think that WTK installed normally since I could run Game Demo by selecting WTK2.5.2 for CLDC->Run MIDP Applicaiton>C:\Java\WTK2.5.2_01\apps\Games\bin\Games.jad.
However, I get the following error when I try to run jxme demo chat in C:\Java\jxta-jxme\midp\demo\chat\bin\chat.jad
OTA server emulation started ...
HTTPS server emulation started ...
Error: Reason = 36
So, I tried to compile the C:\Java\jxta-jxme\midp.
Here are the environment variables in my XP running PC.
First, when I tried "ant tools", I got errors with a message because the tools directory could not be found.
So I created the tools directory in C:\Java\jxta-jxme\midp\tools, and I got "Build Success".
Then, I tried "Ant" and the following error occured.
[echo] Disabling Doja...
[javac] Compiling 1 source file to C:\Java\jxta-jxme\midp\classes_cldc_unverified
[echo] Preverifying classes...
[exec] Error preverifying class net.jxta.j2me.ByteCounterOutputStream
[exec] java/lang/NoClassDefFoundError: java/io/OutputStream
C:\Java\jxta-jxme\midp\build.xml:72: exec returned: 1
Total time: 0 seconds
lines 70 to 76 of build.xml are:
I welcome any comment and thanks for your help in advance.