Use case
Since the Java installation handling changed during the last Ubuntu releases (due to Oracle’s politics) most parts of my old post are out of date now.
Solution
I found a great instruction about how to install Oracle’s Java JDK on Ubuntu.
As I could not write it better I will just post the link here:
http://www.wikihow.com/Install-Oracle-Java-JDK-on-Ubuntu-Linux
Side note
I prefer archiving several JDK versions, so I put each JDK under /opt/java/JDK-{VERSION}.
In order to not be forced to update my alternatives everytime when a new update gets released I created a symbolic link called “current” in the same directory (/opt/java/).
So in case of a new version I just need to update the symlink once.
Thanks for sharing this great information here, I am happy to get this website. You are provided a very useful information in your post. I like all posts from this website.Ones again thanks for sharing.