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:

BUILD FAILED
C:\eclipse\workspace\PQuad\build.xml:131: 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

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.

Thanks,

Elena  

Elena S. Peterson
Senior Research Scientist II
Pacific Northwest National Laboratory
[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to