Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-7086

JMC IDE Plugin if booted with JDK 16 (or higher) fails to attach Local JVMs

XMLWordPrintable

      If Eclipse IDE v4.18 is booted with JDK 16, then it fails to attach locally running JVMs , with following exception

       

       

      ./eclipse WARNING: Using incubator modules: jdk.incubator.vector, jdk.incubator.foreignSLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.Jan 12, 2021 9:41:18 AM org.openjdk.jmc.ui.MCAbstractUIPlugin attemptToInitAWTINFO: Initiating AWT from org.openjdk.jmc.ui activator.Exception in thread "Local Descriptor Scanner" java.lang.IllegalAccessError: class org.openjdk.jmc.browser.attach.LocalJVMToolkit (in unnamed module @0x6bb18ef6) cannot access class sun.jvmstat.monitor.MonitorException (in module jdk.internal.jvmstat) because module jdk.internal.jvmstat does not export sun.jvmstat.monitor to unnamed module @0x6bb18ef6 at org.openjdk.jmc.browser.attach.LocalJVMToolkit.getMonitoredHost(LocalJVMToolkit.java:437) at org.openjdk.jmc.browser.attach.LocalJVMToolkit.populateMonitoredVMs(LocalJVMToolkit.java:158) at org.openjdk.jmc.browser.attach.LocalJVMToolkit.getLocalConnections(LocalJVMToolkit.java:132) at org.openjdk.jmc.browser.attach.LocalJVMToolkit.getAttachableJVMs(LocalJVMToolkit.java:492) at org.openjdk.jmc.browser.attach.LocalDescriptorProvider$LocalScanner.scan(LocalDescriptorProvider.java:89) at org.openjdk.jmc.browser.attach.LocalDescriptorProvider$LocalScanner.run(LocalDescriptorProvider.java:72) at java.base/java.lang.Thread.run(Thread.java:831)

            ghb Guru Hb (Inactive)
            bbanathur Bipin Banathur
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: