ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Travis Reeder <>
Subject Javac problem
Date Tue, 13 Jul 2004 19:22:23 GMT
I have the following settings in set:

When I run a compile task that looks like this my build.xml:

 <javac srcdir="${src.dir}" destdir="${build.dir}" debug="off" 
deprecation="off" optimize="off" compiler="modern" >
            <classpath refid="core.class.path"/>

I get this:

     [echo] Java Home: /usr
    [javac] Compiling 133 source files to /home/v1/web/WEB-INF/classes

file:/home/v1/build.xml:33: Unable to find a javac compiler; is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

The echo above is what ant sees as java.home property.  Why would it be 
set to that when I have JAVA_HOME set to the correct location?


Travis Reeder
Ecommstats Web Analytics

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message