Java Virtual Machine (JVM) Install

Humio is a Scala-based application that requires a JVM (Java Virtual Machine), version 11 or higher. We recommend using Azul’s JVM, as it is used for Humio Cloud, and so it is well-tested for compatibility. For more information on selecting and configuring the JVM, see JVM Configuration.

First, import Azul’s public key. This can be done by executing the following from the command-line:

shell
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9

Next, you’ll need to add the Azul package to the apt repository and then update it. You would do both of these steps like so:

shell
apt-add-repository 'deb http://repos.azulsystems.com/ubuntu stable main'
apt-get update

apt-get install zulu-13

With the repository in place, in the last line here, you can now install version 13.0.2 of Azul’s Zulu JVM. When it’s done, you can confirm that the JVM is installed by executing the first line below:

shell
java --version

openjdk 13.0.2 2020-01-14
OpenJDK Runtime Environment Zulu13.29+9-CA (build 13.0.2+6-MTS)
OpenJDK 64-Bit Server VM Zulu13.29+9-CA (build 13.0.2+6-MTS, mixed mode, sharing)