Thanks, I have installed JDK and Glassfish using these commands.
export PATH=$PATH:"/javajdk1_6/jdk1_6/bin"
export PATH=$PATH:$JAVA_HOME/bin
java -Xmx256m -jar glassfish-installer-v2.1-b60e-linux.jar
[Message sent by forum member 'tse2009' (webofht-javanet01_at_yahoo.com.hk)]
http://forums.java.net/jive/thread.jspa?messageID=364073