java.lang.reflect.InaccessibleObjectException: Unable to make member of class com.sun.management.internal.OperatingSystemImpl accessible: module jdk.management does not export com.sun.management.internal to at sun.reflect.Reflection.throwInaccessibleObjectException(Reflection.java:462) at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:185) at java.lang.reflect.Method.checkCanSetAccessible(Method.java:188) at java.lang.reflect.Method.setAccessible(Method.java:182) at org.netbeans.core.ui.warmup.DiagnosticTask.logEnv(DiagnosticTask.java:97) at org.netbeans.core.ui.warmup.DiagnosticTask.run(DiagnosticTask.java:84) at org.netbeans.core.startup.WarmUpSupport.run(WarmUpSupport.java:98) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)