ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Heaton <>
Subject Ant cannot find compiler
Date Fri, 15 Dec 2000 19:13:14 GMT
I'm running ant on Win NT with Suns JDK 1.3, and had been successfully
running it for a number of weeks.  All of a sudden I started getting errors
and I don't remember changing any settings on my machine.

When I tried compiling java classes through ant I got the following error.

    [javac] Modern compiler is not available - using classic compiler


C:\ace\build.xml:60: Cannot use classic compiler, as it is not available

My JAVA_HOME was set to c:\jdk1.3\jre and that had been working.  Then I
tried setting it to just c:\jdk1.3 and it compiled but Javadoc failed with
the following error:

Running javadoc...
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Error: could not open `c:\jdk1.3\lib\jvm.cfg'

I've tried everything I can think of an no solution.


View raw message