Skip to content
Snippets Groups Projects
java-versions.md 1.45 KiB
Newer Older
  • Learn to ignore specific revisions
  • # Java Versions
    
    
    Metabase requires a Java Runtime Environment (JRE), with a Java version of 11 or higher.
    
    We recommend the latest LTS version of JRE from [AdoptOpenJDK](https://adoptopenjdk.net/releases.html) with HotSpot JVM and x64 architecture, but any version Java 11 or higher should work (see [supported versions](https://adoptopenjdk.net/support.html)), including other types of JVM and architecture, and other distributions such as [OpenJDK](https://openjdk.java.net/), [Amazon Corretto](https://aws.amazon.com/corretto/), [Zulu OpenJDK](https://www.azul.com/downloads/zulu-community), and [Oracle Java](https://www.java.com/).
    
    **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. We recommend 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.