Installation of Oracle GlassFish Server 3.0.1 requires JDK release 6.
The minimum (and certified) version of the JDK software that is required for GlassFish Server depends on the operating system:
For all supported operating systems using the Java JDK, the minimum required version is 1.6.0_20.
For all supported operating systems using the JRockit JDK, the minimum required version is 1.6.0_17.
Complete information about supported JDK versions for GlassFish Server is available in the Oracle GlassFish Server Certification Matrix.