You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Peter Lee <to...@shaw.ca> on 2002/11/26 09:29:16 UTC

Ant cannot find a javac compiler

I got the following message complaining that it cannot find JDK. But it was working before
and all the necessary paths and environment variables have been set properly.
ANT_home and JAVA_HOME are not altered in any way as before, but now  it does not work.
What's the problem with it?


prepare:

compile:
    [javac] Compiling 3 source files to c:\classes

BUILD FAILED
file: build.xml:33: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>