Okay, I see your point about the ActiveGate extension version, since Dynatrace does recommend a separate JRE for the extension execution:
Java Runtime Environment of at least version 8 installed on ActiveGate (JRE 11+ recommended). We recommend not using the JRE that comes in the ActiveGate install directory. IBM MQ extension — Dynatrace Docs
But Shakib was asking about the OneAgent version.