Sun GlassFish Communications Server 1.5 Release Notes

Solution

The AS_JAVA variable in the asenv.conf file always points to as-install/jdk. If you want to use a different JDK version, update the asenv.conf file manually and changed the value of AS_JAVA.