ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sills, David" <David.Si...@commerceone.com>
Subject RE: Error in Eclipse
Date Thu, 04 Sep 2003 11:17:22 GMT
Though adding tools.jar works, you might want to check on your JDK settings.
You should really be pointing to a JDK, and by default Eclipse points to a
JRE (no tools.jar). Just a thought.

David Sills


-----Original Message-----
From: Pritesh saharey [mailto:pritesh@sqatester.com]
Sent: Wednesday, September 03, 2003 12:10 AM
To: Ant Users List
Subject: RE: Error in Eclipse


Thank you evrybody for helping me out my problem is resolved just by taking
tools.jar in classpath.

thanks to all

pritesh

--- Vikas Phonsa <VPhonsa@suz.com> wrote:
>And going by the Error message you can try setting JAVA_HOME environment
>variable to point to either the jdk used by your eclipse or any other jdk
on
>your machine. If it doesn't work out, you might come to know what exactly
is
>the problem.
>
>-----Original Message-----
>From: Pritesh saharey [mailto:pritesh@sqatester.com] 
>Sent: Saturday, August 30, 2003 5:16 AM
>To: user@ant.apache.org
>Subject: Error in Eclipse
>
>Hi all,
>
>I am getting this kind of error while iam running build in eclipse can any
>body
>guss whats going wrong
>
>
>Buildfile: C:\eclipse\eclipse\workspace\APIDriver\build.xml
>
>compile:
>       [javac] Compiling 9 source files to
>C:\eclipse\eclipse\workspace\APIDriver
>       [javac] BUILD FAILED:
>file:C:/eclipse/eclipse/workspace/APIDriver/build.xml:6: 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
>Total time: 7 seconds
>
>pritesh
>
>_____________________________________________________________
>Join SQAtester.com Community  --->
>http://www.sqatester.com/testersarea/joinus.htm
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org

_____________________________________________________________
Join SQAtester.com Community  --->
http://www.sqatester.com/testersarea/joinus.htm

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message