Ok, i found this, sounds simple ( i hope lol)
- Log in as the root user (usually the administrator).
- Open Terminal (Applications > Accessories > Terminal)
- Next, type inside the terminal: sudo apt-get install sun-java6-bin sun-java6-fonts sun-java6-jre sun-java6-plugin
- Press Enter
- Wait until it loads entirely, then the terminal will change into an old-fashioned window with no mouse user interface. Use the down arrow to scroll down until you can't scroll further. Then press the right arrow and hit enter to accept the license agreement.
- After accepting the license agreement, Java will download and it will ask you several questions about configuration which you should choose based on what you want.
- After this, open Firefox and visit http://www.cs.ubc.ca/~van/sssjava/javademo.html to check if Java is working correctly.
Give it a try and let us know how you get on
D