---
title: Supported Java Versions - JMX Monitoring Agent
description: Which Java versions and JDK distributions are supported by the Nodinite JMX Monitoring Agent. Includes Java LTS version compatibility matrix, OpenJDK and Oracle JDK support, and version upgrade guidance.
---

# :fab fa-java: Supported Java Versions

This troubleshooting guide explains which **Java version** and **JDK** distributions provide **JVM compatibility** with the :Nodinite: [JMX Monitoring Agent][JMXAgent].

## Java Version Compatibility Matrix

The :Nodinite: JMX Monitoring Agent connects to JVM applications using the standard JMX remote protocol. JMX remoting is supported on all **LTS** releases and most modern JDK distributions. The table below lists all supported versions and their compatibility status.

| Java Version | LTS | OpenJDK | Oracle JDK | Amazon Corretto | Eclipse Temurin | Status |
|---|---|---|---|---|---|---|
| Java 8 (1.8) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ⚠️ Legacy — supported, not recommended |
| Java 11 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Supported |
| Java 17 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Recommended |
| Java 21 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Recommended (latest LTS) |
| Java 23 (non-LTS) | ❌ No | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ⚠️ Supported — no extended support |

>[!TIP]
>
>Run `java -version` on the host running your JVM application to confirm the exact **Java version** and **JDK** distribution installed.

## Supported JDK Distributions

The JMX remote protocol is part of the Java SE specification and is available in all major JDK distributions. The following distributions are tested and confirmed to work with the :Nodinite: JMX Monitoring Agent:

* **OpenJDK** — The reference implementation. All versions from Java 11 onwards are supported.
* **Oracle JDK** — Fully supported. Note that Oracle JDK 17 and later require a paid subscription for production use.
* **Amazon Corretto** — AWS-maintained OpenJDK distribution. All LTS versions supported.
* **Eclipse Temurin** — Adoptium project distribution. Recommended for commercial deployments without licensing cost.
* **Microsoft Build of OpenJDK** — Microsoft-maintained OpenJDK distribution. Supported on Azure and on-premises.

>[!NOTE]
>
>The JMX Monitoring Agent uses standard JMX RMI connections and does not depend on any JDK-specific features. Any JDK that implements the full Java SE specification will work.

## Recommended Java Version

Use the latest **LTS** (Long-Term Support) release for production deployments. Java 21 is the current recommended LTS version as of 2024 and provides:

* Extended security patches and bug fixes
* Improved virtual thread support (Project Loom)
* Lower GC pause times with generational ZGC
* Improved JMX performance under high heap pressure

<div class="mermaid">
graph TD
  A["Select Java Version for JVM Application"] --> B{"Is it an LTS release?"}
  B -->|No| C["Consider upgrading to nearest LTS<br/>(Java 21 recommended)"]
  B -->|Yes| D{"Java version?"}
  D -->|"Java 8"| E["fa:fa-triangle-exclamation: Legacy — JVM compatibility confirmed<br/>but upgrade to Java 11+ recommended"]
  D -->|"Java 11"| F["fa:fa-check: Supported — consider Java 17 or 21 for new deployments"]
  D -->|"Java 17"| G["fa:fa-check: Recommended LTS — fully supported"]
  D -->|"Java 21"| H["fa:fa-check: Recommended — latest LTS, best performance"]
  style E fill:#FFD525
  style F fill:#93d16d
  style G fill:#93d16d
  style H fill:#93d16d
</div>

*Diagram: Decision flow for selecting a supported Java version for use with the JMX Monitoring Agent.*

## Java Version Upgrade Guidance

### Upgrading from Java 8 to Java 11 or later

Java 9 introduced the Java Platform Module System (JPMS) which restricts reflective access. When upgrading, verify:

* JMX remote monitoring flags remain compatible. The `-Dcom.sun.management.jmxremote.*` flags still work in Java 11 and later.
* Application frameworks (Spring Boot, Boomi Atom) support the target **Java version**.
* Review the [JMX Monitoring Agent Configuration][Configuration] to confirm no additional flags are needed.

### Common Java Version Issues

#### JMX connection fails after Java upgrade

**Cause:** Java 17 and later enforce stronger encapsulation by default. Some JMX-related classes may require additional `--add-opens` flags.

**Resolution:** Add the following JVM flags if the JMX Monitoring Agent reports connection failures after a Java upgrade:

```bash
--add-opens java.management/sun.management=ALL-UNNAMED
--add-opens java.base/sun.net=ALL-UNNAMED
```

#### Boomi Atom reports unsupported Java version

**Cause:** The Boomi Atom installer and runtime require a specific **JVM compatibility** range. Using a non-LTS Java version may not be certified by the Boomi platform.

**Resolution:** Review the Boomi platform release notes to confirm supported Java versions, then use a certified **LTS** release such as Java 11, Java 17, or Java 21.

#### OpenJDK vs Oracle JDK licensing

**Cause:** Oracle JDK 17 and later require a commercial subscription for production use. Using Oracle JDK without a license in production violates Oracle's terms.

**Resolution:** Replace Oracle JDK with **Eclipse Temurin** or **Amazon Corretto** — both are free, open-source **OpenJDK** distributions with commercial support available.

## :fa-hand-point-right: Next Steps

:fab fa-java: [Thread Deadlock Detection][]
:fa-trash-can: [Supported Garbage Collectors][]  

## :fa-link-horizontal: Related Topics

:fa-unlock: [Enable JMX Remote Monitoring][]  
:fa-server: [Multi-JVM Monitoring][]  
:fab fa-java: [JMX Monitoring Agent][JMXAgent]
:fa-circle-question: [JMX Troubleshooting Overview][Troubleshooting]  

[Configuration]:{ndr}/Logging%20and%20Monitoring/JMX/Getting%20started/3.%20Configuration.md
[Enable JMX Remote Monitoring]:{ndr}/Logging%20and%20Monitoring/JMX/Troubleshooting/Enable%20JMX%20Remote%20Monitoring.md
[JMXAgent]:{ndr}/Logging%20and%20Monitoring/JMX/Overview.md
[Multi-JVM Monitoring]:{ndr}/Logging%20and%20Monitoring/JMX/Troubleshooting/Multi-JVM%20Monitoring.md
[Supported Garbage Collectors]:{ndr}/Logging%20and%20Monitoring/JMX/Troubleshooting/Supported%20Garbage%20Collectors.md
[Thread Deadlock Detection]:{ndr}/Logging%20and%20Monitoring/JMX/Troubleshooting/Thread%20Deadlock%20Detection.md
[Troubleshooting]:{ndr}/Logging%20and%20Monitoring/JMX/Troubleshooting/Overview.md