You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ma...@cs.tcd.ie on 2003/04/05 17:18:31 UTC
RE: Ant in Eclipse 2.1: Unable to find a javac compiler
Hi Rob,
I think it's got something to do with your system enviroment variables.
Check and see what JAVA_HOME is in a dos prompt i.e. type
set JAVA_HOME
and see if that's the correct path.
I think Eclipse picks this up upon installation.
I'm fairly new to Eclipse myself so this may not be your problem.
Thanks,
Mark.
-----Original Message-----
From: Robert Douglass [mailto:r.douglass@onlinehome.de]
Sent: 06 February 2002 02:35
To: user@ant.apache.org
Subject: Ant in Eclipse 2.1: Unable to find a javac compiler
Hello,
I've just upgraded my Eclipse IDE to 2.1, and with it I got ant 1.5.2.
However, I get the following error which is hard for me to understand:
[javac] BUILD FAILED:
file:F:/tdk/webapps/webs4/WEB-INF/build/build.xml:399:
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
It is hard for me to understand because Eclipse has no problem compiling
my
code, and JAVA_HOME is set properly. Anybody have any suggestions?
Thanks,
Robert Douglass
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org