users@glassfish.java.net

Re: Installation problem w/ glassfish

From: <glassfish_at_javadesktop.org>
Date: Wed, 07 May 2008 04:55:13 PDT

Hi Snjezana,

I followed your advice and still got the same exact error message. Here is what i got:

C:\>cd glassfish\

C:\glassfish>lib\ant\bin\ant -f setup.xml
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_03

BUILD FAILED
C:\glassfish\setup.xml:156: The following error occurred while executing this li
ne:
C:\glassfish\setup.xml:136: The following error occurred while executing this li
ne:
C:\glassfish\setup.xml:132: Please set java.home to a JDK installation

Total time: 0 seconds


Here are my Environment Variable settings:

C:\>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\******\Application Data
AS_ADMIN_USER=admin
CLASSPATH=.;C:\Program Files\Java\jre1.6.0_03\lib
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=*******
ComSpec=C:\WINDOWS\system32\cmd.exe
DEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopPro
tection
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\******
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_03
JBOSS_HOME=C:\jboss-4.2.2.GA
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=C:\Program Files\Java\jdk1.6.0_03\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WIN
DOWS\System32\Wbem;C:\Program Files\Java\jdk1.6.0_03\;C:\Program Files\Microsoft
 SQL Server\80\Tools\Binn\;C:\Program Files\QuickTime\QTSystem\;;;C:\glassfish\l
ib\ant\bin;;C:\Sun\AppServer\lib\ant\bin;;C:\Program Files\Java\jdk1.6.0_03\bin;
C:\tomcat\webapps\murach\WEB-INF\classes;C:\tomcat\webapps\musicStore\WEB-INF\cl
asses;C:\jboss-4.2.2.GA\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 2, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0f02
ProgramFiles=C:\Program Files
PROMPT=$P$G
QTJAVA=C:\Program Files\Java\jre1.6.0_03\lib\ext\QTJava.zip
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
ULTRAMON_LANGDIR=C:\Program Files\UltraMon\Resources\en
VSEDEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\Desktop
Protection
windir=C:\WINDOWS


Based on what I have provided can you tell me what I need to do differently and/or what i need to change? Thanks.
[Message sent by forum member 'dharp3r' (dharp3r)]

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