how to install java on ubuntu

There are various JDK versions at the market like Oracle, Open or IBM. I will be revealing how to install …