users@glassfish.java.net

Re: ${com.sun.aas.javaRoot} variable reference

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Tue, 17 Mar 2009 21:53:18 -0700

the easiest way to change the JDK location used by glassfish is to
modify the asenv.conf AS_JAVA variable.

jerome

On Mar 17, 2009, at 3:01 AM, glassfish_at_javadesktop.org wrote:

> Yes. I installed Glassfish and noticed that it used the JRE and not
> the JDK. I got a noJDK-exception. In the Admin Console, at
> 'Application Server' - 'JVM settings', the default value for Java
> Home is ${com.sun.aas.javaRoot}. If I change that to the location of
> my JDK, it works. But the variable ${com.sun.aas.javaRoot} is also
> used at other places, so it makes more sense to have this variable
> point to the right location.
> In the meantime I also introduced a JAVA_HOME environment variable
> (My Computer- Advanced- Environment Variable), pointing at my JDK-
> location. At first, this did not seem to work, but apparently it
> does now. So it is not much of a problem anymore, but still I would
> like to know how I can check the value of ${com.sun.aas.javaRoot} .
> [Message sent by forum member 'driesknottnerus' (driesknottnerus)]
>
> http://forums.java.net/jive/thread.jspa?messageID=337380
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>