Docs » Collect application spans and traces » Instrument Java applications for Splunk Observability Cloud » Java agent compatibility and requirements

Java agent compatibility and requirements 🔗

Meet these requirements to instrument Java applications for Splunk Observability Cloud.

Supported libraries and frameworks 🔗

The Splunk Distribution of OpenTelemetry Java instruments numerous libraries, frameworks, and application servers. For a complete list, see Supported libraries in the OpenTelemetry documentation.

Ensure you are using supported Java and JVM versions 🔗

The agent of the Splunk Distribution of OpenTelemetry Java supports the following Java versions:

  • Java 8 starting from 8u40

  • Java 11

  • Java 17 and higher LTS versions

The following Java Virtual Machines (JMVs) are supported:

  • AdoptOpenJDK

  • Amazon Corretto

  • Azul Zulu

  • BellSoft Liberica JDK

  • Eclipse Adoptium/Temurin

  • Microsoft OpenJDK

  • Oracle OpenJDK

  • Red Hat OpenJDK

  • SAP SapMachine

Note

Splunk Observability Cloud officially supports Java and Groovy as JVM languages. You can instrument applications written in other JVM languages, but the quality of the telemetry data is not guaranteed.

Install and configure a Splunk OpenTelemetry connector 🔗

The Splunk Distribution of OpenTelemetry Java exports application and JVM metrics and spans to the Splunk OpenTelemetry Connectors, which also collect system metric data and logs.

To send application traces and spans to Observability Cloud, you need to install the Splunk OpenTelemetry connector app for your platform. The following connectors are available: