users@glassfish.java.net

Re: JDK used by Glassfish

From: Alexis Moussine-Pouchkine <alexis.moussine-pouchkine_at_oracle.com>
Date: Mon, 19 Sep 2011 23:59:59 +0200

try this blog post: http://blogs.oracle.com/foo/entry/how_does_glassfish_pick_the
if you want to use another version, you should set a AS_JAVA property in the asenv property file (in glassfish/config)
-Alexis

On 19 sept. 2011, at 21:01, forums_at_java.net wrote:

> I am new to Glassfish. I have Glassfish 3.1.1 installed on my Mac 10.6.8. I
> wanted to know what version of JDK or JRE, Glassfish is using. I noticed
> that $JAVA_HOME is not set on my mac. But when I run this on my terminal:
>
> /usr/libexec/java_home (to dynamically find java version), it says:
>
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
>
> Can anyone please let me know?
>
> Thanks,
>
> AR
>
>
> --
>
> [Message sent by forum member 'scAdaLL01']
>
> View Post: http://forums.java.net/node/844810
>
>