My Oracle Support Banner

ODSEE - How to Use Java tools for DPS Problem Analysis (Caused by: sun.jvm.hotspot.runtime.VMVersionMismatchException) (Doc ID 1330986.1)

Last updated on MARCH 10, 2020

Applies to:

Oracle Directory Server Enterprise Edition - Version 7.0 and later
Information in this document applies to any platform.
***Checked for relevance on 29-04-2013***


VMVersionMismatchException Error
When trying to attach some java debugging tools to DPS, You might see the following error message:

sun.jvm.hotspot.runtime.VMVersionMismatchException: Supported versions is <XXXX>. Target VM is <YYYY>


Java version in use:
java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Server VM (build 19.1-b02, mixed mode

jmap -d64 [dps-pid]

jmap -d64 1872

Attaching to process ID 1872, please wait...
Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
Caused by: sun.jvm.hotspot.runtime.VMVersionMismatchException: Supported versions are 19.1-b02. Target VM is 16.3-b01
        at sun.jvm.hotspot.runtime.VM.checkVMVersion(
        at sun.jvm.hotspot.runtime.VM.<init>(
        at sun.jvm.hotspot.runtime.VM.initialize(
        at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(
        at sun.jvm.hotspot.bugspot.BugSpotAgent.go(
        at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 VMVersionMismatchException Error
 How to make it work:

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.