-
Bug
-
Resolution: Cannot Reproduce
-
P2
-
6u4
-
x86
-
windows
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
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