users@glassfish.java.net

Glassfish install error on windows xp sp3

From: <glassfish_at_javadesktop.org>
Date: Wed, 19 Nov 2008 07:12:18 PST

D:\Soft\glassfish>cd glassfish

D:\Soft\glassfish\glassfish>lib\ant\bin\ant -f setup.xml
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\li
b\tools.jar
Buildfile: setup.xml

all:

get.java.home:

setup.init:

check-java:

get.java.home:

setup.init:

validate-java:
     [echo] Current Java Version 1.6.0_10

BUILD FAILED
D:\Soft\glassfish\glassfish\setup.xml:156: The following error occurred while ex
ecuting this line:
D:\Soft\glassfish\glassfish\setup.xml:136: The following error occurred while ex
ecuting this line:
D:\Soft\glassfish\glassfish\setup.xml:132: Please set java.home to a JDK install
ation

Total time: 1 second
----------------
line 156: <antcall target="check-java"/>
line 136: <antcall target="validate-java"/>
line 132: <fail message="Please set java.home to a JDK installation" unless="jdk.present"/>
----------------
I have no idea why it fails. Please help !
[Message sent by forum member '60q' (60q)]

http://forums.java.net/jive/thread.jspa?messageID=317601