Metabase requires a Java Runtime Environment (JRE).
We recommend the latest LTS version of JRE from AdoptOpenJDK with HotSpot JVM and x64 architecture, but any supported version should work, including other types of JVM and architecture, and other distributions such as OpenJDK, Amazon Corretto, Zulu OpenJDK, and Oracle Java.
Note When using a “headless” version, the JVM needs to have AWT classes, which are sometimes not included. Otherwise Pulses and other functionality might not work correctly or not at all.
When developing and building Metabase a Java Development Kit (JDK) is required. It is recommended to use the latest LTS version of JDK from AdoptOpenJDK with HotSpot JVM.
To see if your system already has Java installed, try running this command from a terminal:
java -version
You should see output similar to this:
openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.7+10)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.7+10, mixed mode)
If you get an error, you need to install Java. If the Java release date is more than a few months old, you should update Java.