Why a Metabase JAR server now needs Java 25
If your team runs the Metabase JAR on servers you manage, the Java version on those hosts is now part of the Metabase upgrade. Metabase recommends running the JAR on Java 25, specifically the Eclipse Temurin JRE with the HotSpot JVM, and states that earlier Java versions are not supported. Treat this as a prerequisite that sits alongside any Metabase version change, not as a detail you can settle after the new JAR is in place.
The change happens on the host, outside the Metabase application itself. Before you swap the JAR, confirm which Java major each server currently runs (for example, with java -version), check whether the JVM was installed from a system package or a separate Temurin build, and plan the JVM replacement in the same change window as the Metabase upgrade so a failure can be traced to one cause. Metabase's troubleshooting guide also recommends running the latest minor of the chosen Java major and running only one Java version per server, so a host that serves other Java applications on older runtimes needs its own review.
You have two supported paths. The first is to move the JVM on the existing server to Java 25 and run the JAR on it. The second is to move to the Docker image, which carries its own runtime and removes the host JVM from the upgrade. If the server also hosts other Java workloads that need different versions, the Docker path or a separate host is usually the cleaner option, because Metabase's guidance favors one Java version per server. Confirm the exact Temurin build and any package source your change control allows before you commit to either path.
What changes for JAR deployments on Java 25
This table compares each Java-related change with its impact on a JAR-based Metabase server and the action your team needs to take. Read it as a checklist before any version move, because the Java check belongs in the same change window as the Metabase upgrade.
| Change | Impact | Action needed |
|---|---|---|
| Java 25 is the recommended runtime | Metabase recommends running the JAR on Eclipse Temurin JRE with the HotSpot JVM on Java 25. | Install Temurin JRE 25 on each JAR host and confirm the JVM reports Java 25 before starting Metabase. |
| Earlier Java versions are not supported | A server still running an older Java major falls outside Metabase's stated support for the JAR. | Inventory every Metabase host's Java version and plan the replacement before the target Metabase version is deployed. |
| Use the latest minor of the chosen Java major | Security and bug fixes arrive in later minor releases of the same major. | Pin the Java 25 installation to its latest minor and track patch updates through your normal OS or package process. |
| Run one Java version per server | Metabase's troubleshooting guide recommends a single Java version per server, so shared hosts can cause conflicts with other Java applications. | Dedicate each Metabase host to Java 25, or move other applications that need a different Java version to their own hosts. |
| Docker image as an alternative | When other applications on the same platform need different Java versions, the container image keeps the Java runtime packaged with Metabase. | Decide whether to switch to the Docker image, then plan the image tag, configuration and data path changes as a separate migration step. |
| Metabase 64 LTS and Metabase 65 release dates | Metabase 64 is an LTS release published 16 September 2026 with end of life on 1 December 2027. Metabase 65 was released 12 October 2026. | Run the Java check during any move to these versions, since the runtime requirement can be confirmed only against the target release. |
| Tested Java version per release | The Java version a release was tested on is stated in its release notes, which can differ from the general recommendation. | Confirm in the release notes for your target version which Java version it was tested on, and record the result in your change ticket. |
Which path fits your servers: stay on JAR, split hosts or move to Docker
This path suits a team that already manages Linux hosts with configuration management, patch windows and inventory, and that wants Metabase to stay a plain JAR process under a service manager. The host is dedicated to Metabase, so the Java runtime on it can be set to Eclipse Temurin JRE 25 with the HotSpot JVM, which is the combination Metabase recommends for the JAR. You keep the existing deployment pattern and change only the runtime.
- JVM install and patching: Your team installs Temurin JRE 25, tracks its minor releases and applies updates on your normal patch cycle.
- Host configuration: Your team sets the JVM path, memory options and the service unit that launches the JAR, and keeps them consistent across nodes.
- Version discipline: Confirm that no other Java application shares the host, since Metabase recommends running one Java version per server.
- Upgrade coupling: Each Metabase upgrade may also require a Java check, so the runtime and the application version must be reviewed together.
Before choosing this path, confirm the current Java requirement and supported minor release in the Metabase JAR documentation, and check the troubleshooting guide for JVM memory guidance.
This path suits an organization where other applications on the same estate need a different Java major, and where moving those applications is not practical. Metabase's guidance is one Java version per server, so Metabase gets its own hosts and the other applications keep theirs. The trade-off is more hosts to build, patch and monitor, along with clearer boundaries between runtimes.
- Host inventory: Your team maps which applications need which Java major and assigns each to a host group with a single runtime.
- Separate patch cycles: Metabase hosts and other Java hosts are patched on their own schedules, so a runtime change for one does not force a change for the other.
- Network and access rules: Hosts that hold database credentials or sit in front of Metabase need the same access controls, which adds review work across more systems.
- Capacity planning: Dedicated hosts have their own sizing, so confirm memory and CPU for Metabase separately from the other workloads.
Before choosing this path, read the Metabase troubleshooting guide on running one Java version per server and confirm how your deployment tooling will enforce that rule on each host.
This path suits a team that already runs containers in production and wants the Java runtime to be part of the application image instead of a host dependency. Metabase's Docker image carries its runtime, so the Java version is changed by pinning a different image tag rather than installing packages on a host. This reduces host-level JVM work but moves the responsibility to image selection, registry controls and container configuration.
- Image pinning: Your team pins a specific image tag in deployment manifests, avoids floating tags, and records which tag each environment runs.
- Registry and scanning: Images are pulled from a registry you control, scanned and promoted through environments before production.
- Container configuration: Your team owns environment variables, volumes for persistent data, resource limits and restart behavior.
- Host runtime: The container host still needs a supported container engine and its own patching, even though the JVM no longer lives there.
Before choosing this path, confirm in the Metabase upgrading and running documentation which image tags and environment variables apply to your target version, and whether your application database connection changes with the container.
How the Java decision flows into the Metabase upgrade
The path starts with an inventory of every Metabase server and the Java runtime it uses, plus a check of whether the host runs other Java applications. That check decides the branch: a dedicated host can run Temurin JRE 25 for the JAR, while a host that needs a different Java major moves Metabase into a container or a separate host. Both branches then pass through a database backup, a staging test, cutover and verification before production changes.
Decision path from Java inventory to a verified Metabase upgrade.
Preparing each JAR server before the Java change
Each JAR-based Metabase server needs a short preparation pass before its JVM changes. The six checks below cover what runs where, how to recover, how to rehearse the change, and who approves it. Together they keep the Java 25 move reversible and visible to the teams that depend on the server.
Inventory of hosts and Java versions
List every host that runs the Metabase JAR, the JVM it uses today, and any other application sharing that host or its Java installation. Metabase's guidance is one Java version per server, so a shared host may need its Metabase workload separated before the upgrade. Record the Java binary path that the service actually calls, since a host can have several installed.
Running the JAR docsApplication database backup before any change
Take a backup of the application database before the JVM changes, as Metabase's upgrade guidance recommends for any change that touches the server. Store it outside the host being changed and confirm that you can restore it. This backup is also the simplest rollback point if the new runtime misbehaves.
Staging copy with the same JAR
Build a staging server with the same Metabase JAR, the same configuration file and a copy of the application database. Run the JAR on Java 25 there first and log in, run sample queries and check scheduled sync. A staging copy shows whether the change works before production users see it.
Service and JVM settings review
Review the startup script or systemd unit, the memory flags, and the environment variables that set the Java command line. Flags tuned for an older JVM may need changes, and any hardcoded path to the old Java binary must be updated. Keep a copy of the current settings so the previous configuration can be restored quickly.
Ownership and change windows
Name one owner per server who approves the Java change and one contact for the teams that use the instance. Schedule the change in a window that avoids reporting cycles and scheduled syncs, and agree in advance who decides to roll back. Java patching often lands on a schedule owned by another team, so this owner should be confirmed before the window is set.
Access and secrets check
Confirm that the new runtime can reach the application database, data sources, the mail server and any identity provider, using the same credentials and network paths. Check that the Java trust store includes any internal certificate authorities the server relies on. Secrets should move through your normal store, not into shell history or unversioned files.
Upgrade sequence for moving a JAR server to Java 25
This sequence moves a JAR-based Metabase server onto Temurin JRE 25 with a tested backup, a staging run and a kept fallback at each stage, so the runtime change can be reversed if a check fails.
Record current Java and Metabase versions
The platform owner records the Java runtime currently on the host, the running Metabase version and the target release, then reads the target's release notes for runtime and migration changes. Confirm the target release supports Java 25 on the Metabase JAR documentation before going further. Done when the version record, target release and notes are stored in the change ticket. Rollback point: none is needed yet, because nothing has changed.
Back up the application database
The database administrator takes a full backup of the Metabase application database, normally PostgreSQL in production, and stores it outside the Metabase host. Confirm the backup file can be read and restored into a scratch database, and record the Metabase version that wrote it. Done when a restore test on a separate instance succeeds. Rollback point: this backup is the restore path if later migrations or the runtime change cause problems.
Install Temurin 25 on staging
The platform engineer installs Eclipse Temurin JRE 25 with the HotSpot JVM on a staging host that mirrors production, leaving the existing runtime in place. Run the Java version command and confirm it reports the Temurin 25 build with HotSpot, and that no other Java is first on the PATH for the Metabase service account. Done when the runtime reports the expected version. Rollback point: the staging host can be reset without affecting production.
Start the target Metabase on staging
The platform engineer starts the target Metabase JAR on staging, pointed at a restored copy of the production application database, and watches the startup log for migration progress and errors. After startup, the tester logs in with an existing account, runs a sync on a connected database, and opens a saved question and a key dashboard. Done when the log is clean and each check returns the expected result. Rollback point: discard the staging copy and fix the issue before scheduling production.
Schedule the production window
The change owner agrees a maintenance window with the business owners of dashboards and scheduled reports, and notifies users of expected downtime. The window covers the backup, the runtime install, the JAR swap and the verification checks. Confirm the rollback steps and who can authorize them are written into the ticket before the window opens. Done when approvals are recorded and the on-call contact is named. Rollback point: cancel the window if the staging results are not clean.
Install Temurin 25 alongside the current runtime
On the production host, the platform engineer installs Temurin JRE 25 into a separate directory and keeps the previous runtime and the prior Metabase JAR in place. Update the service definition to point at the new Java binary, following the single Java version per server guidance, and confirm the runtime version reported by the service account. Done when the runtime check passes and the old runtime path is recorded. Rollback point: revert the service definition to the previous runtime path and JAR.
Start Metabase and watch migrations
The platform engineer starts the new Metabase JAR under the Java 25 runtime and monitors the logs until the application reports it is ready. Watch application database migrations for errors, and do not interrupt them, since interrupting a migration can leave the database in a state that needs the backup. Done when the logs show a completed startup with no repeated errors. Rollback point: if migrations fail, restore the pre-change backup and restart the prior JAR on the prior runtime.
Verify logins, jobs and dashboards
The tester signs in through each configured method, such as password or SSO, confirms scheduled syncs and scheduled reports run on their next cycle, and opens the key dashboards and saved questions that business teams rely on. Compare results against the pre-change record. Done when all checks pass and the results are signed off by the business owner. Rollback point: if checks fail and cannot be fixed within the window, restore the backup and revert to the prior runtime and JAR.
Remove the old runtime after stability
After the agreed stable period, the platform engineer removes the previous Java runtime and archives the prior JAR and its service definition, keeping the final backup for retention. Confirm the host runs only the Java 25 runtime and that the service definition references only that path. Done when the old runtime is gone and the change record is closed with the final versions. Rollback point: until this step, the old runtime remains available for reversal.
Why each Metabase server should run one Java version
Run one Java version per Metabase server. Metabase's troubleshooting guide recommends using the latest minor release of the chosen Java major and running only one Java version per server, and it suggests containers when other applications on the same machine need a different version. For a JAR-based deployment, this means the host that runs Metabase should have Temurin JRE 25 as its only Java runtime for that workload, with the minor release kept current through your normal patch process.
The reasons are operational rather than academic. When a host carries one JVM, patching, troubleshooting and change control have a single runtime to reason about. A system-wide default such as the java command on the path, JAVA_HOME or the alternatives selection can change when another team installs or updates software, and that change can silently alter which runtime starts Metabase after a reboot. Keeping the runtime isolated also means a Java upgrade for a different application cannot block or break the Metabase service, and a Metabase upgrade does not have to wait on that application's schedule.
Before you plan the cutover, inventory any shared hosts. List every Java application, its runtime, how it is started and who approves changes to it. If a host runs Metabase alongside other Java services, decide whether to move Metabase to a dedicated host or to a container with its own runtime. Confirm the reasoning and the minor-release guidance against Metabase's troubleshooting guide for the version you are deploying, since that guidance is the reference your support path will use.
What makes the Java 25 move take longer
This table lists the factors that stretch a Java 25 move for JAR-based Metabase and explains how each one changes the work. Read each row against your own estate to see which factors apply and what to confirm before scheduling the change.
| Driver | Effect on effort | What to check |
|---|---|---|
| Number of JAR servers and clusters | Each server needs its own JRE install, service file and verification, so effort grows with the count and clusters add coordination. | Inventory every host running the Metabase JAR and note which ones sit behind a shared load balancer. |
| Other Java applications on the same hosts | Sharing a host with applications built for older Java versions forces a split or a container move before the JRE can change. | List every Java process on each host and the Java version each one needs. |
| Custom JVM flags and startup scripts | Flags tuned for an older runtime may need review, and hand-written scripts often hide the Java path being used. | Export current startup commands, JAVA_HOME settings and any memory options from the service definition. |
| Metabase version and a concurrent major upgrade | Running the Java change with a major upgrade doubles the change window and adds the single-node step for migrations. | Confirm the current version and whether the Java change can be separated from the application upgrade. |
| Size of the application database and backup window | A larger application database lengthens the pre-change backup and the restore path if a rollback is needed. | Measure the size of the application database and confirm how long a full backup and a test restore take in your environment. |
| Existing container usage | Teams already running containers can switch to the Docker image with a tag change, while JAR-only teams must build the runtime pipeline. | Check whether your platform already runs container images and who owns image builds and patching. |
| Change approval and testing in regulated environments | Change boards, test evidence and sign-off steps often take longer than the technical change itself. | Ask your change board which tests, approvals and rollback records it requires for a runtime change. |
How to test the Java change and roll it back
Test the Java 25 change on a staging copy of the server before touching production, and keep a rollback path ready. Start with the startup logs of the new runtime: confirm the JAR launches on Temurin JRE 25, that no warnings point to missing or mismatched Java components, and that Metabase reports a successful connection to its application database. Then sign in with the sign-in method production uses, whether that is email and password, Google sign-in, LDAP or an SSO provider. A login that works on the old runtime but fails on the new one usually points to a dependency or configuration problem, not a user problem.
Next, check the content and the background work that users depend on. Open a sample of saved questions and dashboards across several collections and data sources, and confirm they run and render as before. If scheduled database sync or scans and email delivery are used, wait for at least one scheduled cycle and confirm it completes and that a test email arrives. Finally, watch memory and CPU use under a normal load profile and compare it with the old runtime. The Metabase troubleshooting guide covers JVM memory issues if the new runtime behaves differently. Confirm the expected load profile with your Metabase administrators before you start.
Rollback has two routes. The recommended route is restoring the application database backup taken before the change, which must be paired with the JAR version that matches it. The other route is reinstalling the previous Java runtime and running the prior JAR. Confirm the exact steps in the Metabase upgrading documentation before relying on either. Restoring a backup can remove content, such as questions, dashboards or permission changes, created after that backup was taken, so confirm with the upgrade and rollback documentation what a restore does to content created since, and decide in advance whether that content must be recreated or exported.
Questions teams ask before changing Java for Metabase
Can we stay on our current Java version for Metabase JAR deployments?
No. Metabase recommends running the JAR on Java 25 (the Eclipse Temurin JRE with the HotSpot JVM) and states that earlier Java versions are not supported. Staying on your current runtime means running a configuration Metabase does not support, and that gap grows with each release. Start by checking what each host runs with java -version and recording the vendor and build number. Then confirm the Java requirement for the exact Metabase release you plan to deploy, using the JAR documentation as the reference. Where possible, separate the Java change from the Metabase version change, so that if something fails you can tell which of the two caused it.
Can one server run Metabase alongside another Java application?
Metabase's guidance is to run one Java version per server. The troubleshooting guide recommends using the latest minor release of the chosen Java major and running only one Java version per server, with containers suggested when applications need different versions. If another application on the same host needs a different Java version, you have two practical options:
- Move Metabase to its own host with Java 25 installed, and leave the other application where it is.
- Run Metabase in a container, so its JVM ships inside the image and does not depend on the host's default Java.
A shared host is easy to break because the system default java on the PATH and any JAVA_HOME setting are global. Another service's upgrade can change them without warning. Whichever option you choose, document which Java binary the Metabase service calls, and verify it after every operating system patch cycle.
Should we switch from the JAR to the Metabase Docker image?
It depends on what your team already runs. The Docker image carries its own Java runtime, so the host's installed Java stops being a dependency of Metabase, and the host can be patched without changing the JVM Metabase uses. Pinning an image tag also makes the running version explicit in your configuration. The trade-off is that your team takes on the container layer: a container runtime or orchestrator, pulls from a registry you trust, volumes for configuration and any local files, environment-based configuration, log collection, and a patch cadence for the image itself. If your organization already operates containers in production, this is often the cleaner path. If it does not, the move adds a platform to support before it removes a Java problem. Ask the team to confirm the image and tag they will use and how the upgrade procedure changes once the JAR is retired.
How much effort does the Java change take and what drives it?
The effort depends on how many hosts run Metabase, how many also run other Java software, and how far each host is from the required Java version. Other drivers include whether the Metabase version changes in the same window, the size of the application database backup and how long it takes to restore, how much validation runs on staging before production, whether the deployment is a single node or a cluster, and how many people must approve the change. Each driver changes the order of work, so a quote should list them explicitly. Ask that the written scope state the hosts covered, the Java installation method, whether a container move is included, the staging test and rollback rehearsal, the documentation handover, and who performs and signs off each step. Timing should follow from that scope, not from general estimates.
What do we need to provide before the Java change starts?
Plan to provide these inputs before work starts:
- An inventory of every Metabase host, its operating system, the Java runtime and version installed, and any other Java applications on the same machine.
- Administrative access to those hosts, including the account that runs the Metabase service and the ability to edit its service definition or container configuration.
- The application database type and connection details, plus the location and capacity of the backup storage you will use before any change.
- A staging server configured like production, so the Java change is tested against your real settings and data sources.
- Named approvers, agreed change windows, and enough time inside each window to roll back if validation fails.
- Documentation of any reverse proxy, TLS termination or load balancer in front of Metabase, since these often need a check after the runtime changes.
Can our own team change the Java version without a partner?
Yes, if the team already has the skills the change needs. Those include Linux administration, installing and verifying a JRE, managing the Metabase service, reading startup logs, and following Metabase's backup and upgrade procedure. A capable team with a staging server can make the change in one window. A partner adds the most value where the team is stretched or where the change needs independent review: scoping the host inventory, separating shared hosts, building the service or container configuration, rehearsing the restore, validating the staging run, and writing the runbook the next operator will follow. DeployOpen plans, implements, documents and supports self-hosted platforms inside the client's own infrastructure, so the work runs in your environment under your access controls. Ask what the team keeps after handover and what support is included.
What happens if the Java change or upgrade goes wrong?
Take an application database backup before any change, and restore it if the new setup fails. Metabase's upgrade guidance recommends restoring the pre-upgrade application database backup as the first rollback option. Running the migrate down command with the newer JAR is the other documented route. Restoring the backup returns content to its state at the time of the backup, so anything created after that point is lost, and teams should expect to recreate it or accept the loss. Keep the previous JAR or container image available until validation is complete, and record which Java binary each version used. Test the restore on staging before the production window, because a backup that has never been restored is an assumption rather than a control. Check the upgrade guidance for the exact steps that match your target release.
How DeployOpen scopes and delivers a Java 25 move for Metabase
DeployOpen treats the Java 25 requirement for Metabase JAR deployments as a scoped change to the host, the runtime and the upgrade path together. We agree the written scope first, then plan, build, test and document the move inside your own infrastructure, so your team can run the result after handover.
How we scope
- Inventory each Metabase host, its current Java runtime and every other application sharing that server.
- Confirm the target Metabase version and its Java requirement before any runtime is installed.
- Agree in writing whether the work moves to the Docker image, stays on a JAR, or covers both hosts.
How we build
- Install Eclipse Temurin JRE 25 with the HotSpot JVM on a dedicated host or prepare a container image.
- Back up the application database and record the current JAR path, service file and environment settings.
- Run the upgrade in a staging copy first, then check logs, sign-in and a sample of saved questions and dashboards.
How we hand over
- Deliver a runbook with the exact Java version, startup command, rollback steps and backup restore procedure.
- Document the one-Java-version-per-server rule and how new hosts or containers are provisioned.
- Walk your platform and security teams through the configuration so they can review it against their own standards.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after the fixed-scope work ends.
- Plan the next Java and Metabase upgrade windows against the version support dates published by Metabase.
- Confirm with your team which support responsibilities stay internal and which move to the retainer.

