How to Install Java OpenJDK on JRE/JDK on GNU/Linux Distros
GNU/Linux Installing Java OpenJDK Guide
Hi! The linked Tutorials Show You Step-by-Step How to Install Oracle-Sun Java OpenJDK JRE/JDK on GNU/Linux Distributions.
And the OpenJDK (Open Java Development Kit) is a Free and Open Source Implementation of the Java Platform, Standard Edition (Java SE).
Furthermore, the Official Oracle Java JDK/JRE Release is based on the OpenJDK source code. In Addition, it contains Closed-Source Components.
And as an alternative see: How to Install Oracle JDK on Linux Distros