Install JBoss AS 7 on a Debian 6 VPS

I followed the following steps, all instructions as root ofcourse:

First install the JDK package for Linux:

wget http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-x64.tar.gz
mkdir /usr/lib/jvm/  
tar zxvf jdk-7-linux-x64.tar.gz -C /usr/lib/jvm/

set it as default:

update-alternatives --install /usr/bin ...

View comments.

more ...