cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
moritzwitti
Dynatrace Participant
Dynatrace Participant

Summary

The Dynatrace OneAgent is incompatible with Java processes that have Ahead-of-Time (AOT) class loading enabled. This incompatibility may cause your application to crash or to disregard the AOT cache.

 

Problem

The Java 24 feature "Ahead-of-Time Class Loading & Linking" is inherently not designed to work with JVMTI agents, such as OneAgent. Therefore, OneAgent won't function with a Java process that has Ahead-of-Time class loading enabled; your application might crash or disregard the Ahead-of-Time cache. The error message to expect in this case is java.lang.ClassNotFoundException.

 

Resolution

To enable OneAgent monitoring for Java processes, remove parameters related to Ahead-of-Time Class loading.

Source

 

What's next

If this article did not help, please open a support ticket, mention that this article was used and provide the following in the ticket:

Version history
Last update:
‎07 Apr 2025 01:59 PM
Updated by: