sudo aptitude install sun-java6-jre sun-java6-plugin
- Enter your password if prompted.
- A license window will appear: Press TAB and then ENTER.
- If a question is asked, answer "yes" (using the arrow keys and the ENTER key).
ACTUALIZACIÓN: Ubuntu 9.10
sudo apt-get install sun-java6-fonts sun-java6-jre sun-java6-plugin