2.1.2. Java Installation

2.1.2.1. Install on Debian, Ubuntu, etc.

With root privileges run command:

apt install openjdk-8-jre

2.1.2.2. Install on RedHat, CentOS, Fedora, Oracle Linux, etc.

With root privileges run command:

yum install java-1.8.0-openjdk

2.1.2.3. Confirm Installation

Run command:

java -version

You should have result like this:

openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)