apt-get install sun-java5-jdk
http://it.megocollector.com/?p=629 http://www.jboss.org/community/docs/DOC-12305