I use WSDD5.6 to build the simpleDemo code from the Mr. Yuan's book- Enterprise J2ME,
I got the msg as below:
compile: [javac] Compiling 1 source file to E:\PPC\SimpleDemo\anttmp\tmpclasses [javac] Modern compiler not found - looking for classic compiler [javac] BUILD FAILED: file:E:/PPC/SimpleDemo/build.xml:40: Cannot use classic compiler, as it is not available. A common solution is to set the environment variable JAVA_HOME to your jdk directory. Total time: 297 milliseconds
I am convinced that I did set the Java_home to my JDK directory, and when I used the separated Ant software to build it, no errors at all, I believed the problem should be cause of the configuration of WSDD, can you answer my question, thanks!
can you help me again, thanks! [ June 04, 2004: Message edited by: Jack Deng ]
posted 14 years ago
It still sounds like the internal Ant and compiler setup inside WSDD is somehow wrong. Maybe some important JAR is missing in the classpath. Sorry, I am not an expert in debugging WSDD. If I were you, I'd reinstall and start from scratch.
I reinstalled WSDD and my OS for 10 times already, somehow, the problem is remain, anyway, I get the other sample code from the other books, and it works.
the problem now is the WSDD runtime,I did follow the instructions of your book to install on my pocket PC, and also follow the help tips of the WSDD although, they are slightly defferent, unfortunately , neither of them are worked. so I have to use the Jeode runtime on my pocket PC, and use the WSDD emulation environment to test my code. However, it is inconvienent, I have to manually copy the jar file to my pocket PC and make a shortcut, I wonder, if you got the WSDD runtime for pocket PC,can you send me a copy to my email email@example.com . I did try to buy a install file from the www.handango.com you recommended in your book, but after the payment, I realised that I only can a pdf agreement file and nothing more. I wonder if you can give me a copy, or tell me where I can get a installed Websphere micro runtime. I would really appreciate it
by the way, thanks for your kindly help, thank you very much indeed
posted 14 years ago
The instructions in my book mainly concerns how to install the PP runtime to PocketPC from WSDD 5.5. The "SimpleDemo" code is a MIDlet that is intended to work with the Sun WTK. If I run SimpleDemo on WSDD, I would use the Nokia 7210 SDK integration not the IBM WME for MIDP. I rarely run MIDlets on PocketPC -- I think the MIDP environment is too limited for PPC hardware.
A couple of years ago, I tried to run Jeode VM on PPC and it was pretty good