Ever since a recent Java update I cannot start JDKP properly.
I get this error when attempting to start the program.
Code
Mar 03, 2018 12:41:51 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Exception in thread "AWT-EventQueue-2" java.lang.ExceptionInInitializerError
at com.eqdkplus.jdkp.output.WoWGetDKPInterface.getStandardWindowsExecutable(WoWGetDKPInterface.java:231)
at com.eqdkplus.jdkp.output.GameInterface.getPlatformExecutable(GameInterface.java:82)
at com.eqdkplus.jdkp.gui.Gui.fillFieldsByFormat(Gui.java:452)
at com.eqdkplus.jdkp.gui.Gui.access$2000(Gui.java:61)
at com.eqdkplus.jdkp.gui.Gui$7.actionPerformed(Gui.java:867)
at java.desktop/javax.swing.JComboBox.fireActionEvent(Unknown Source)
at java.desktop/javax.swing.JComboBox.contentsChanged(Unknown Source)
at java.desktop/javax.swing.AbstractListModel.fireContentsChanged(Unknown Source)
at java.desktop/javax.swing.DefaultComboBoxModel.setSelectedItem(Unknown Source)
at java.desktop/javax.swing.DefaultComboBoxModel.addElement(Unknown Source)
at java.desktop/javax.swing.JComboBox.addItem(Unknown Source)
at com.eqdkplus.jdkp.gui.Gui$1.addItem(Gui.java:162)
at com.eqdkplus.jdkp.gui.Gui$1.addItem(Gui.java:141)
at com.eqdkplus.jdkp.gui.Gui.<init>(Gui.java:270)
at com.eqdkplus.jdkp.main.Main$1Starter.run(Main.java:59)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue.access$500(Unknown Source)
at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private static native int[] java.util.prefs.WindowsPreferences.WindowsRegOpenKey(int,byte[],int) accessible: module java.prefs does not "opens java.util.prefs" to unnamed module @3cb98d41
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(Unknown Source)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(Unknown Source)
at java.base/java.lang.reflect.Method.checkCanSetAccessible(Unknown Source)
at java.base/java.lang.reflect.Method.setAccessible(Unknown Source)
at com.eqdkplus.jdkp.util.RegistryReader.<clinit>(RegistryReader.java:50)
... 29 more
Display More
I appreciate it might be a problem on my PC, but I'm not sure were to troubleshoot if that is the case.
I did try re-installing Java again but no luck.