Setup JBoss on Ubuntu 8.1.0 Server Edition

jbosslogo A recent task was to setup a JBoss Application Server on a Linux box. I created an Ubuntu 8.10 server virtual machine on a VMware Workstation. This was a fresh install of the core operating system only, no optional installation packages were added during the installation. 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. This guide picks up from after the installation of the Ubuntu 8.1.0 Server Edition and at the command prompt.


As I continue to practice various installations on different Linux distributions, the steps are becoming leaner and more efficient.


  • Download and Install Java
    sudo apt-get install sun-java6-JDK
  • Download JBoss
    wget ""
  • Install JBoss

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

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