ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Madison" <...@tfftech.com>
Subject Re: Unable to find a javac compiler
Date Sat, 05 Jul 2003 17:34:10 GMT
----- Original Message ----- 
From: "Christoph Strehl" <christoph.strehl@epost.de>
To: "ant" <user@ant.apache.org>
Sent: Saturday, July 05, 2003 11:42 AM
Subject: Unable to find a javac compiler


> Hi,
>
> I got a problem using apache-ant-1.5.3-1when trying to build the Java Data
> Objects Reference Impl. (jdori)
>
> This is the error message I get :
>
> file:E:/source/jdori-1_0-pre-ea-src-22_aug_2001/src/build.xml:95: 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
>
> JAVA_HOME does point to the JDK, here's what I get when typing echo
> %JAVA_HOME% :
> P:\j2sdk1.4.0


not to state the obivious but just incase...

...you've verified there's a complete JDK in the P: directory j2sdk1.4.0,
right?

you can successfully run the following:

P:\j2sdk1.4.0\bin\javac

from your command prompt no problems?


j.

----
Jon Madison, Consultant
Thought For Food Tech, LLC
574.315.7440
http://www.tfftech.com


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


Mime
View raw message