• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The problems of using WSDD

 
Jack Deng
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it has something to do with your ANT setup inside the WSDD. In particular, ANT seems to miss tools.jar in its classpath. Check out this thread:

http://archive.midrange.com/java400-l/200308/msg00065.html
 
Jack Deng
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
do you mean the tool.jar in the SDK1.4/lib/

I solve the problem now, but new problem came out while I build the SimpleDemo

BUILD FAILED: java.lang.NoSuchMethodError: java/lang/ClassLoader.setPackageAssertionStatus(Ljava/lang/String;Z)V

can you help me again, thanks!
[ June 04, 2004: Message edited by: Jack Deng ]
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jack Deng
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 jack_21cn@yahoo.com.cn . 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
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic