This is how you can install java on Ubuntu
http://askubuntu.com/questions/48468/how-do-i-install-java
To install the latest version you need CD. I am afraid you can not download it online. I have new version 7.5 DigiESP in CD, could upload online for you ?