users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Tue, 17 Mar 2009 03:01:08 PDT

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