Install Java version 8
You can either use java 8 from oracle, or java 8 openjdk version
Install Java version 8 (from oracle)
- Check the latest available java package here: www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
- Download the rpm file:
# wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u112-b15/jdk-8u112-linux-x64.rpm"
- Install java:
# yum -y localinstall jdk-8u112-linux-x64.rpm
- Check java version to verify java is installed properly:
# java -version
java version "1.8.0_112"
Java(TM) SE Runtime Environment (build 1.8.0_112-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)
Install Java version 8 (openjdk)
- Install java version 8:
# yum install java
- Check java version to verify java is installed properly:
# java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-b15)
OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)
Prepared by :
Date : 2 Dec 2016
Last updated: 31 August 2017