users@glassfish.java.net

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

From: Wilkins, Brian <bwilkins_at_harris.com>
Date: Mon, 5 Aug 2013 14:04:44 +0000

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
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