Notice the instructions are for JDK 5. Is there any reason that JDK 6 is not mentioned;Instructions to unbundle and configure GlassFish
To install and configure GlassFish you need to have JDK 5 installed on your system. The configuration processing depends on Ant (1.6.5). The bundle includes an Ant distribution that has been extended with tasks to facilitate developing Java EE 5 applications for the application server.
Download one of the bundles to disk, set JAVA_HOME to JDK 5.