RHEL: 1. Install Java

Graphlytic requires Java to be installed. For the required version see Requirements. If you have installed the required version you can skip the installation of Java.

You can test whether you have the correct Java platform by running from the command line:

$ java -version
openjdk version "11.0.7" 2020-04-14 LTS
OpenJDK Runtime Environment Zulu11.39+15-CA (build 11.0.7+10-LTS)
OpenJDK 64-Bit Server VM Zulu11.39+15-CA (build 11.0.7+10-LTS, mixed mode)

Install Java

For full installation instruction of AdoptOpenJDK see their official documentation.

1. Add the appropriate RPM repository to your /etc/yum.repos.d/adoptopenjdk.repo file, by running the following command:

cat <<EOF > /etc/yum.repos.d/adoptopenjdk.repo
[AdoptOpenJDK]
name=AdoptOpenJDK
baseurl=http://adoptopenjdk.jfrog.io/adoptopenjdk/rpm/centos/7/$(uname -m)
enabled=1
gpgcheck=1
gpgkey=https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public
EOF

2. Install java package

$ yum install adoptopenjdk-11-hotspot

Confirm that Java Works

Once the steps above have been done, it should be possible to check of java version and see output similar to this:

$ java -version
openjdk version "11.0.7" 2020-04-14 LTS
OpenJDK Runtime Environment Zulu11.39+15-CA (build 11.0.7+10-LTS)
OpenJDK 64-Bit Server VM Zulu11.39+15-CA (build 11.0.7+10-LTS, mixed mode)