users@glassfish.java.net

RE: Do I need to reinstall glassfish to use a newer java version?

From: Zhang,Jun <JHZhang_at_mdanderson.org>
Date: Mon, 5 Aug 2013 14:21:30 +0000

Brian, Thank you very much for the quick response.

Jun

From: Wilkins, Brian [mailto:bwilkins_at_harris.com]
Sent: Monday, August 05, 2013 9:05 AM
To: 'users_at_glassfish.java.net'
Subject: RE: Do I need to reinstall glassfish to use a newer java version?

Yes, you'll need to modify asenv.conf (AS_JAVA=<location>) and potentially your .bashrc if you are using Linux to point to JAVA_HOME if it's not modified already.


From: Zhang,Jun [mailto:JHZhang_at_mdanderson.org]
Sent: Monday, August 05, 2013 10:02 AM
To: users_at_glassfish.java.net<mailto:users_at_glassfish.java.net>
Subject: Do I need to reinstall glassfish to use a newer java version?

When I installed glassfish, I used jdk_1.7.0_03. Now I want glassfish to use jdk_1.7.0_25, what kind of procedure should I take? Is making the newer version of java in the PATH for the glassfish user enough?

Thank you.
Jun