You are not logged in.

#1 2017-03-24 14:01:12

kamelie1706
Member
Registered: 2014-02-19
Posts: 176

[SOLVED] JEDIT 5.4.0-1 - Does not start

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

#2 2017-03-24 14:15:37

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED] JEDIT 5.4.0-1 - Does not start

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

#3 2017-03-24 14:29:47

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,792

Re: [SOLVED] JEDIT 5.4.0-1 - Does not start

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

#4 2017-03-24 19:28:16

kamelie1706
Member
Registered: 2014-02-19
Posts: 176

Re: [SOLVED] JEDIT 5.4.0-1 - Does not start

Thanks!

Bug filled
https://bugs.archlinux.org/task/53440

Last edited by kamelie1706 (2017-03-24 19:39:27)

Offline

#5 2017-03-25 09:20:51

kamelie1706
Member
Registered: 2014-02-19
Posts: 176

Re: [SOLVED] JEDIT 5.4.0-1 - Does not start

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

Board footer

Powered by FluxBB