Setup JBoss on Ubuntu 8.0.4 LTS Server Edition

jbosslogoA recent task was to setup a JBoss Application Server on a Linux box. I had selected Ubuntu 8.0.4 LTS Server Edition for this task. I created an Ubuntu virtual machine on a VMware Workstation. This was a fresh install and the only optional installation package added during the installation was LAMP, which should have nothing to do with the installation of JBoss; it was a personal preference. I started from scratch, as too many guides make too many assumptions in their build. I am new to this, and this is what worked for me. JBoss requires JAVA JDK 1.4+ to run. The next plan is to attempt this installation on a Red Hat 5 Enterprise Server, since both products are Red Hat products. I have found, however, that Ubuntu was easier for a first attempt as there seems to be more information available in the user community. This guide picks up from after the installation of the Ubuntu 8.0.4 LTS Server Edition and at the command prompt.


  • Download and Install Java
    sudo apt-get install sun-java5-JDK
  • Download and Install Joe (a full featured terminal-based screen editor.)
    sudo apt-get install joe
  • Download JBoss
    Note: I downloaded JBoss and copied to another location as I couldn’t get
    wget to download from Sourceforge.

    wget ""
  • Install JBoss

    java -jar jems-installer-1.2.0.GA.jar -installGroup default installpath=/home/admin or whatever username/jbossfolder
  • Launch joe to edit path
    sudo joe /etc/profile
  • Edit path in profile
    export"export JDK_HOME="${java_home}"
    export PATH="${JAVA_HOME}/bin:${PATH}"
  • Save profile CTL K X
  • Go to folder to launch
    cd jboss/bin
  • Run JBoss

The Result
In my web browser on another workstation,
The default account information
user: admin
pass: admin