For the latest version, please use Certificate Lifecycle Manager 6.18.0!

Java Runtime Migration

Introduction

This page describes how to replace the legacy MTG Java package with Adoptium Temurin and select the Java version required by your CLM release.

Choosing the Java Version

The release notes are the source of truth for runtime compatibility.

CLM release Java version Reference

6.11.0 and later

25

CLM 6.11.0 release notes

6.1.0 through 6.10.0

17

CLM 6.1.0 release notes

Java 17 cannot run CLM 6.11.0 or later. For CLM 6.17.0, install Java 25 using the procedure below. If your upgrade requires an intermediate CLM release, use the Java version required by that release before proceeding. See Upgrade Requirements.

Before changing the runtime, back up the application configuration and record the installed Java package, service configuration and Java executable used by each service. Check the runtime requirements of other MTG products sharing the host before changing their Java configuration.

Stopping MTG Applications

First, it is necessary to stop all MTG applications. This should be done by stopping the systemd services. The following command can be used to list all running MTG-related services:

systemctl list-units --type=service | grep mtg

Installing Adoptium Temurin JRE 25

Adoptium provides Linux package repositories for Red Hat, Ubuntu and openSUSE Leap. The official instructions on how to add the repositories can be found here.

Use the repository instructions for your operating system release. Once the repository has been successfully configured, the Adoptium Temurin JRE 25 package can be installed via the following commands:

RHEL
dnf install temurin-25-jre
Ubuntu
apt install temurin-25-jre
SUSE
zypper install temurin-25-jre

Selecting and Verifying the Service Runtime

Configure the CLM service to use the installed Java 25 executable. Check the service unit, its overrides and any configured Java path; changing the shell’s default Java does not necessarily change the service runtime.

Run java --version to check the shell’s default runtime and run the service’s configured Java executable with --version to confirm that CLM will use Java 25.

Removing the Legacy MTG-Java Package

After installing and selecting the replacement runtime, remove mtg-java17 if no remaining service depends on it. Inspect the package manager’s proposed transaction before accepting removal.

RHEL
dnf remove mtg-java17
Ubuntu
apt remove mtg-java17
SUSE
zypper remove mtg-java17

Starting MTG Applications

Restart the affected services and check their startup logs and health endpoints. Confirm that each service uses the Java version required by its release.

Legacy CLM Releases Using Java 17

For CLM 6.1.0 through 6.10.0, replace the legacy MTG Java 17 package with Temurin JRE 17. Use the same service verification and package removal steps above, but install temurin-17-jre:

RHEL
dnf install temurin-17-jre
Ubuntu
apt install temurin-17-jre
SUSE
zypper install temurin-17-jre

Verify that the affected services use Java 17 while running these older CLM releases. Switch CLM to Java 25 when upgrading to 6.11.0 or later.