I download it from:
https://glassfish.dev.java.net/downloads/v3-prelude.html
and I get click this link "Self-Extracting Installer File"
It is a graphical installer on linux.
And this is the error i get:
java -jar glassfish/modules/glassfish.jar
Dec 17, 2008 10:26:39 AM com.sun.enterprise.glassfish.bootstrap.ASMain main
INFO: Launching GlassFish on Apache Felix OSGi platform
Exception in thread "main" java.lang.RuntimeException: AS_DEF_DOMAINS_PATH[../domains] is specifying a file that is NOT a directory.
at com.sun.enterprise.glassfish.bootstrap.ASMainHelper.getDefaultDomainsDir(ASMainHelper.java:244)
at com.sun.enterprise.glassfish.bootstrap.ASMainHelper.getDomainRoot(ASMainHelper.java:196)
at com.sun.enterprise.glassfish.bootstrap.ASMainOSGi.<init>(ASMainOSGi.java:112)
at com.sun.enterprise.glassfish.bootstrap.ASMainFelix.<init>(ASMainFelix.java:53)
at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:65)
~/glassfishv3-prelude>
[Message sent by forum member 'yinglcs2' (yinglcs2)]
http://forums.java.net/jive/thread.jspa?messageID=322169