I've installed jdk1.4 and wtk2.1 and tried the Animation example from the PDF document "Using Ant and Antenna" from the nokia pages.
It compiles well, after I inserted the line
<property name="bootclasspath.dir" value="d:\wtk21\lib\cldcapi10api.jar"/>
into build.xml - which is not stated anywhere (took me many hours to find that out!).
This is what Ant shows me in my command window (w2k):
[echo] Cleaning up...
[delete] Deleting directory D:\JAVA\Phase1\jclasses
[delete] Deleting directory D:\JAVA\Phase1\pclasses
[delete] Deleting directory D:\JAVA\Phase1\final
[mkdir] Created dir: D:\JAVA\Phase1\jclasses
[mkdir] Created dir: D:\JAVA\Phase1\pclasses
[mkdir] Created dir: D:\JAVA\Phase1\final
for my case, I insert both the CLDC and MIDP classpath in the 'bootclasspath" environment variable.
I was wondering what ver of JDK r u using, is ur JDK ver 1.4.2_03 ? Cause I found some problem with this version ... emulator installation program can't detect it! May be it's something doing with this ver. of JDK too(i face other similar problem too).