When enabling Universal Profiling correlation in the Elastic APM Java Agent using the system property
-Delastic.apm.universal_profiling_integration_enabled=true, the application fails to start.
The application runs on Java 8 (Oracle JVM), which according to the Elastic APM Java Agent documentation should be supported.
However, the agent fails to initialize properly when this property is enabled.
Steps to reproduce
1. Use the Elastic APM Java Agent (tested with version Java 8 ).
2. Run a Java 8 (Oracle JVM) application with the following system property:
-Delastic.apm.universal_profiling_integration_enabled=true
3. Start the application.
4. Observe that it fails to start due to an initialization error related to the Universal Profiling integration.
Expected behavior
The APM agent should start normally and allow correlation between APM traces and Universal Profiling data when using Java 8 (Oracle JVM), as documented.
