#Set JAVA_HOME depending on current java version installed
vi ~/.bash_profile
export JAVA_HOME=`/usr/libexec/java_home -v 1.6`
#or
#export JAVA_HOME=`/usr/libexec/java_home -v 1.7`
# Download Oracle GlassFish 3.1.2
# Add executable permission to run GlassFish
chmod +x ./ogs-3.1.2.2-unix.sh
# Run Installer
sh ./ogs-3.1.2.2-unix.sh
No comments:
Post a Comment