Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run executable- .deb or .jar #9

Open
ghost opened this issue Jun 24, 2017 · 0 comments
Open

Cannot run executable- .deb or .jar #9

ghost opened this issue Jun 24, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 24, 2017

I get the same error with either the .zip'd .jar or if the .deb's installed w/ dpkg:

Exception in thread "main" java.lang.ExceptionInInitializerError                                                                                      
        at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:807)                                                                         
        at com.thoughtworks.xstream.XStream.<init>(XStream.java:574)                                                                                  
        at com.thoughtworks.xstream.XStream.<init>(XStream.java:496)
        at com.thoughtworks.xstream.XStream.<init>(XStream.java:465)
        at com.thoughtworks.xstream.XStream.<init>(XStream.java:411)
        at com.thoughtworks.xstream.XStream.<init>(XStream.java:378)
        at com.swingsane.preferences.XStreamUtility$1.<init>(XStreamUtility.java:26)
        at com.swingsane.preferences.XStreamUtility.loadXStream(XStreamUtility.java:26)
        at com.swingsane.preferences.XStreamUtility.getXStream(XStreamUtility.java:20)
        at com.swingsane.preferences.SwingSanePreferencesImpl.load(SwingSanePreferencesImpl.java:61)
        at com.swingsane.gui.Main.loadPreferences(Main.java:193)
        at com.swingsane.gui.Main.main(Main.java:221)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible: module java.base does not "opens java.util" to unnamed module @6a6cb05c
        at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:337)
        at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:281)
        at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:176)
        at java.base/java.lang.reflect.Field.setAccessible(Field.java:170)
        at com.thoughtworks.xstream.core.util.Fields.locate(Fields.java:39)
        at com.thoughtworks.xstream.converters.collections.TreeMapConverter.<clinit>(TreeMapConverter.java:50)
        ... 12 more

I have both 'oracle-java9-installer' & 'oracle-java9-set-default' installed. Running KDE Neon dev-stable (Ubuntu 16.04).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants