GlassFish Server Installation files are available by download from the following locations:
GlassFish Server 3.0.1 is also part of the Java EE 6 SDK distributions. The SDK distributions are available from the Java EE downloads page and are not described in this document.
After downloading the installation file, set JAVA_HOME and $JAVA_HOME/bin in the PATH to point to the supported JDK version.