users@glassfish.java.net

Re: Installation problem w/ glassfish

From: Snjezana Sevo-Zenzerovic <Snjezana.Sevo-Zenzerovic_at_Sun.COM>
Date: Mon, 19 May 2008 11:59:49 -0700

Actually, your JAVA_HOME should be:

C:\Archivos de programa\Java\jdk1.6.0_05


Could you please adjust this value, open new command prompt window and
run 'ant -f setup.xml' again?


glassfish_at_javadesktop.org wrote:

>Hi!!
>I have the same problem.. but the big problem is that my environment variables are ok
>
>JAVA_HOME: C:\Archivos de programa\Java\jdk1.6.0_05\bin;
>path: C:\Archivos de programa\Java\jdk1.6.0_05\bin;
>
>And the problem.....
>
>
>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_05
>
>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
>C:\glassfish>
>
>
>
>thanks for your help!
>[Message sent by forum member 'chikita0386' (chikita0386)]
>
>http://forums.java.net/jive/thread.jspa?messageID=275281
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>