In this tutorial, I'm going to show you how-to install Java using Apt-Get on Ubuntu 16.04 in three easy steps.

Firstly, update the package index:

sudo apt-get update

Next, we will install the OpenJDK 8 package:

sudo apt-get install openjdk-8-jdk

Verify that Java has been installed correctly by checking the version:

java -version

That's it! You should now have Java installed on Ubuntu 16.04.