Skip to content
Snippets Groups Projects
Unverified Commit 63f43a6e authored by Luis Paolini's avatar Luis Paolini Committed by GitHub
Browse files

Update running-the-metabase-jar-file.md (#34994)

parent 8013cc29
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,6 @@ Metabase's reference documentation.
- [Configuring the Metabase application database](./installation-and-operation/configuring-application-database.md)
- [Backing up Metabase](./installation-and-operation/backing-up-metabase-application-data.md)
- [Migrating to a production application database](./installation-and-operation/migrating-from-h2.md)
- [Java versions](./installation-and-operation/java-versions.md)
- [Monitoring your Metabase](./installation-and-operation/monitoring-metabase.md)
- [Serialization](./installation-and-operation/serialization.md)
- [Supported browsers](./installation-and-operation/supported-browsers.md)
......
......@@ -18,7 +18,7 @@ To complete any build of the Metabase code, you'll need to install the following
1. [Clojure (https://clojure.org)](https://clojure.org/guides/getting_started) - install the latest release by following the guide depending on your OS
2. [Java Development Kit JDK (https://adoptopenjdk.net/releases.html)](https://adoptopenjdk.net/releases.html) - you need to install JDK 11 ([more info on Java versions](../installation-and-operation/java-versions.md))
2. [Java Development Kit JDK (https://adoptopenjdk.net/releases.html)](https://adoptopenjdk.net/releases.html) - you need to install JDK 11 ([more info on Java versions](../installation-and-operation/running-the-metabase-jar-file.md))
3. [Node.js (http://nodejs.org/)](http://nodejs.org/) - latest LTS release
......
---
title: Java versions
redirect_from:
- /docs/latest/operations-guide/java-versions
---
# 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 [Eclipse Temurin](https://adoptium.net/) with HotSpot JVM and x64 architecture, but any version Java 11 or higher should work (see [supported versions](https://adoptium.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), [Oracle Java](https://www.java.com/), and [IBM Semeru](https://developer.ibm.com/languages/java/semeru-runtimes/) (If you want an OpenJ9 alternative of Eclipse Temurin).
**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 Eclipse Temurin with HotSpot JVM.
#### Check installed version
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.13" 2021-10-19
OpenJDK Runtime Environment Temurin-11.0.13+8 (build 11.0.13+8)
OpenJDK 64-Bit Server VM Temurin-11.0.13+8 (build 11.0.13+8, 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.
......@@ -2,6 +2,7 @@
title: Running the Metabase JAR file
redirect_from:
- /docs/latest/operations-guide/running-the-metabase-jar-file
- /docs/installation-and-operation/java-versions
---
# Running the Metabase OSS JAR file
......@@ -39,7 +40,7 @@ You may already have Java installed. To check the version, open a terminal and r
java -version
```
If Java isn't installed, you'll need to install it before you can run Metabase. We recommend the latest LTS version of JRE from [Eclipse Temurin](https://adoptium.net/) with HotSpot JVM and x64 architecture, but other [Java versions](./java-versions.md) are supported too.
If Java isn't installed, you'll need to install Java before you can run Metabase. We recommend version 11 of JRE from [Eclipse Temurin](https://adoptium.net/) with HotSpot JVM. You can run Metabase wherever Java 11 runs. The particular processor architecture shouldn't matter (although we only test Metabase for x86 and ARM).
### 2. Download Metabase
......
......@@ -57,14 +57,10 @@ Monitor your Metabase with JMX.
Export Metabase metrics for viewing with Prometheus.
## [Java versions](./java-versions.md)
Some notes on Java versions.
## [Supported browsers](./supported-browsers.md)
Rest in peace, Internet Explorer.
***
***
If you’d like more technical resources to set up your data stack with Metabase, connect with a [Metabase Expert](https://www.metabase.com/partners/).
......@@ -8,13 +8,13 @@ Metabase runs on the Java Virtual Machine (JVM), and depending on how it's confi
## Java version
Make sure you're using a Java version of 11 or higher. For more info, see [Java versions](../installation-and-operation/java-versions.md#check-installed-version).
Make sure you're using a Java version of 11 or higher.
## WARNING: sun.reflect.Reflection.getCallerClass is not supported
Don't worry about it.
Don't worry about it.
```
```
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment