You are not logged in.
Hi,
I have the latest package from Community and I get the following error message when starting
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/gjt/sp/jedit/jEdit : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
I am guessing this is linked to java version
java version "1.7.0_131"
OpenJDK Runtime Environment (IcedTea 2.6.9) (Arch Linux build 7.u131_2.6.9-1-x86_64)
OpenJDK 64-Bit Server VM (build 24.131-b00, mixed mode)
Any hint?
Thanks
Last edited by kamelie1706 (2017-03-25 09:21:28)
Offline
According to http://jedit.org/index.php?page=compatibility you need Java 8. You could install that -- you may also need to set it as the default java, or remove Java 7 -- and see if it runs. But then the package should depend on 'java-runtime>=8' instead of just 'java-runtime'. You can file a bug report for that.
Offline
Moving to Pacman and Package Upgrade Issues.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Thanks!
Bug filled
https://bugs.archlinux.org/task/53440
Last edited by kamelie1706 (2017-03-24 19:39:27)
Offline
Overcome steps until the package is fixed:
- install one of java 8 package
jre8-openjdk Complete Java Runtime Environment (JRE) - version 8
jdk8-openjdk Java Development Kit (JDK) - version 8
- set java 8 as your default environment
sudo archlinux-java set java-8-openjdk
Offline