Installation of Sun GlassFish v3 Prelude Enterprise Server requires JDKTM release 5 or JDK release 6.
The following binary files that are used with Enterprise Server must come from the JDK software, not the Java Runtime Environment (JRETM) software:
java
keytool
To meet this requirement, ensure that the bin directory of the JDK software is at the start of your path.