ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lionel van den Berg" <>
Subject Re: JAVA-HOME is pointing to JRE
Date Tue, 23 Oct 2007 06:28:39 GMT
On 23/10/2007, Timothy Crowell <> wrote:
> I am new to Java and Ant.
> I have set JAVA-HOME to "C:\Program Files\Java\jdk1.6.0_03" (no quotes), I
> have dubble-checked this.
> Ant says JAVA-HOME is set to "C:\Program Files\Java\jre1.6.0_03" (no
> quotes), this is causing serious problems, especially concerning tools.jar
> .

By the way, I think you mean JAVA_HOME (note the underscore, double check
that for me). You might want to check that you don't have JAVA_HOME set
under user and system variables.

Also at a prompt try "echo %JAVA_HOME%" and see what you get.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message