ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <>
Subject Re: JDK 1.5 + Ant 1.6.1
Date Tue, 15 Jun 2004 16:56:09 GMT
Vic Cekvenich wrote:
> The docs say this works but is says it can't find tools.jar or javac.
> hint plz?
> .V

You're certainly using Windows and have the JRE (java.exe/javaw.exe) 
installed in system32 while you're using JAVA_HOME  and JAVA_HOME/bin is 
not added in your path before c:\windows\system32.

Check ${java.home}:

<project name="echo" default="echo">
	<target name="echo">
		<echo message="java.home: ${java.home}"/>

So either modify your system path or delete java.exe/javaw.exe in 
system32 (it's usuless and confusing during development anyway)

If you're not using Windows. Forget it :)

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

View raw message