. . .

AdoptJDK Installation

Introduction

When using ApIOmat microservices like Lurker, a JAVA runtime is required when executing the service at an OS level. This page is about how to install a JAVA runtime, namely the AdoptJDK. AdoptJDK provides prebuilt OpenJDK binaries and LTS support for several versions.

Installation

# Download latest JAVA 11 release:
https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot
 
# Go to /opt folder
cd /opt
 
# Extract the .tar.gz. You can use the following command:
tar -xf OpenJDK11U-jdk_x64_linux_hotspot_11.0.1_13.tar.gz
 
# Add this version of Java to your PATH:
echo "export PATH=$PWD/jdk-11.0.1+13/bin:$PATH" >> /etc/profile
 
# Log in again and check that Java has installed correctly:
java -version
# Download latest JAVA 11 release:
https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot
 
# Go to C:\
# Extract the .zip. You can use the following command:
unzip OpenJDK11U-jdk_x64_windows_hotspot_11.0.1_13.zip
 
# Add this version of Java to your global PATH:
set PATH=%cd%\jdk-11.0.1+13\bin;%PATH%
 
# Log in again and check that Java has installed correctly:
java -version

Next steps

Install futher microservices.

* link only available in Enterprise Documentation