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 -version
openjdk 17.0.11 2024-04-16 LTS
OpenJDK 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
.gpg
2. 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
.list
If you get a command not found error, try running:
$
sudo
apt-get
install
-y software-properties-common
Then 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-jdk
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 17.0.11 2024-04-16 LTS
OpenJDK 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)