Table of Contents
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 -versionopenjdk 17.0.11 2024-04-16 LTSOpenJDK Runtime Environment Zulu17.50+19-CA (build 17.0.11+9-LTS)OpenJDK 64-Bit Server VM Zulu17.50+19-CA (build 17.0.11+9-LTS, mixed mode, sharing)Install Java
For full installation instruction of Azul Zulu OpenJDK see their official documentation.
(for Ubuntu or Debian)
1. Import the official Azul Zulu OpenJDK GPG key by running the following command:
$ curl -s https://repos.azul.com/azul-repo.key | sudo gpg --dearmor -o /usr/share/keyrings/azul.gpg2. Import the Azul Zulu JDK DEB repository by running the following command:
$ echo "deb [signed-by=/usr/share/keyrings/azul.gpg] https://repos.azul.com/zulu/deb stable main" | sudo tee /etc/apt/sources.list.d/zulu.listIf you get a command not found error, try running:
$ sudo apt-get install -y software-properties-commonThen repeat the first command.
3. Refresh your package list with apt-get update and then install your chosen Azul Zulu JDK package. For example, to install OpenJDK 17, run:
$ sudo apt-get update && sudo apt-get install -y zulu17-jdkConfirm 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 -versionopenjdk 17.0.11 2024-04-16 LTSOpenJDK Runtime Environment Zulu17.50+19-CA (build 17.0.11+9-LTS)OpenJDK 64-Bit Server VM Zulu17.50+19-CA (build 17.0.11+9-LTS, mixed mode, sharing)