The decision make users have to download Jave JRE binary from official Oracle Java website, and install it manually. Thankfully, some people have made installation script to make it easy to download and install it automatically. In this article, I use a repository of duinsoft.nl, owned by a member of Dutch Ubuntu community. Using this repository, you just do regular installation process by adding repository and then install it either via Synaptic or Terminal.
This repository contains installation script to automatically pull and download latest Oracle (Sun) Java JRE binary from official Java (Oracle) website, and install it to your system. After you have it installed, the script and the binary will be updated automatically next time when new updated package is available.
OK then, here you go.
Add APT RepositoryRun the following in Terminal (one command at a time):
sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 5CB26B26 echo "deb http://www.duinsoft.nl/pkg debs all" | sudo tee -a /etc/apt/sources.list.d/duinsoft.list sudo apt-get update.
Install Oracle JRE PackageRun the following command in Terminal:
sudo apt-get install update-sun-jre
Now you should have latest Oracle Java installed on your system.
To verify your Java installation, go to http://www.java.com/en/download/installed.jsp (you need to restart your browser first for the installed Java plugin to take effect).