Problem: No java on ubuntu

Solution:
sudo apt-get install openjdk-6-jdk