Установил java по этому рецепту http://www.open-suse.ru/content/usta...java-ot-oracle Но java -version выдаёт только десятку:
openjdk version «10.0.1» 2018-04-17 OpenJDK Runtime Environment (build 10.0.1+10-suse-1.2-x8664) OpenJDK 64-Bit Server VM (build 10.0.1+10-suse-1.2-x8664, mixed mode)
И попытка запуска jar заканчивается вот этим:
stripwire@linux-2stf:~/Рабочий стол> java -jar jar.jar WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by launcher.lOLKEKChebuREK (file:/home/stripwire/%d0%a0%d0%b0%d0%b1%d0%be%d1%87%d0%b8%d0%b9%20%d1%81%d1%82%d0%be%d0%bb/jar.jar) to field java.lang.ClassLoader.usr_paths WARNING: Please consider reporting this to the maintainers of launcher.lOLKEKChebuREK WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Exception in thread «main» java.lang.ExceptionInInitializerError at launcher.lolkeKChebURek.isValidCertificates(SourceFile:126) at launcher.lolkeKChebURek.verifyCertificates(SourceFile:374) at launcher.LoLkeKChEbUREk.main(SourceFile:243) Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field final jdk.internal.loader.URLClassPath jdk.internal.loader.ClassLoaders$AppClassLoader.ucp accessible: module java.base does not «opens jdk.internal.loader» to unnamed module @7fac631b 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 launcher.lOLKEKChebuREK.LoLkeKChEbUREk(SourceFile:151) at launcher.lOLKEKChebuREK.<clinit>(SourceFile:170) ... 3 more