Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6567948

Kernel JRE Error: Exception in thread "main" java.lang.InternalError: Unsupported Management version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2 P2
    • 6u10
    • 6u4
    • deploy

      Kernel JRE Error: Exception in thread "main" java.lang.InternalError: Unsupported Management version

      While running the following program

      import java.lang.management.*;
      public class JmxHelper {
         public static void main(String[] arg) {
             RuntimeMXBean rbean = ManagementFactory.getRuntimeMXBean();
             System.out.println(" Your using vm = " +
                         rbean.getVmVersion() +
                         " Vm named as = "+rbean.getVmName());
         }
      }


      Error:
      Exception in thread "main" java.lang.InternalError: Unsupported Management version
             at java.lang.ClassLoader$NativeLibrary.load(Native Method)
             at java.lang.ClassLoader.loadLibrary0(Unknown Source)
             at java.lang.ClassLoader.loadLibrary(Unknown Source)
             at java.lang.Runtime.loadLibrary0(Unknown Source)
             at java.lang.System.loadLibrary(Unknown Source)
             at sun.security.action.LoadLibraryAction.run(Unknown Source)
             at java.security.AccessController.doPrivileged(Native Method)
             at sun.management.ManagementFactory.<clinit>(Unknown Source)
             at java.lang.management.ManagementFactory.getRuntimeMXBean(Unknown Source)
             at JmxHelper.main(JmxHelper.java:4)
      java.lang.NoClassDefFoundError while loading http://bugster.sfbay.sun.com with Kernel JRE .

      Error:
       java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.SunJCE_b

            enicholasunw Ethan Nicholas (Inactive)
            rnairsunw Raghu Nair
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: