How to install Java on your Ubuntu System

This tutorial shows how to Install OpenJDK, Oracle Java and Java SE Development Kit on Ubuntu and how to set the default Java version used by applications.

Source: LXer