Glassfish, Ubuntu

Installing Glassfish 3.1 on Ubuntu

Download Glassfish

Get Glassfish from here. Download the file


Install JDK

sudo apt-get install openjdk-7-jdk


Unzip Archive

unzip /home/username/Downloads/


Start Server

Change directory to bin folder and execute the following command:

./asadmin start-domain

The command starts the default domain, domain1.


Start the Java DB Server

./asadmin start-database --dbhome ../javadb


Open Administration panel

Open a browser and visit the url:


Don’t forget to change the password.