Installation of Sun GlassFish Enterprise Server v3 requires JDK release 6.
The minimum (and certified) version of the JDK software that is required for Enterprise Server depends on the operating system:
For supported operating systems except Mac OS X, the minimum required version is 1.6.0_17.
For the Mac OS X operating system, the minimum required version is 1.6.0_15.