I'm using JDK 1.3 on a Win 2K machine with no problem at all. One thing I
noticed while researching your problem was that I have 29 different
instances of java.exe on my machine! It seems like everything contains its
own VM these days.

Can you post the <target> snippet of you build.xml file?

- Jeff

-----Original Message-----
From: Link, Thomas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 11:33 PM
To: '[EMAIL PROTECTED]'
Subject: ant and jdk1.3


hi!

i'm using ant with jdk1.3 on winnt4. when i try to compile java-files, i get
the following errormessage:

compile:
    [javac] Compiling 25 source files to D:\classes
    [javac] Modern compiler is not available - using classic compiler

BUILD FAILED

D:\Development\build\ant\build.xml:84: Cannot use classic compiler, as it is
not available

does anybody know what is going wrong? 

thanx
thomas

b.t.w. the JAVA_HOME is set correctly, calling java -version returns:
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

Reply via email to