ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peterson, Elena S" <>
Subject Java.home changing
Date Thu, 05 Jan 2006 02:54:00 GMT
Hello all,

I've searched and searched through the archive and cannot find an answer
to this particular question.  I have a simple build file with a javac
command.  I get this message when it runs:

C:\eclipse\workspace\PQuad\build.xml:131: Unable to find a javac
compiler; is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

So I checked to see what the value of java.home is and that's the part
that's confusing me.  Before any of the targets run it points to my jdk
(which is what the JAVA_HOME environment variable points to).  However
as soon as any target is called it points to a jre.

As you can tell from the error message I'm running this in eclipse 3.1.1
on a windows box.  I have none of the "other" ant environment variables
set.  Java is in my path (in the windows directory) but javac is not.

Any help/guidance you could provide me would be greatly appreciated.



Elena S. Peterson
Senior Research Scientist II
Pacific Northwest National Laboratory

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

View raw message