Linux Java Runtime failure

ecomer's Avatar

ecomer

09 Jul, 2019 08:58 PM

FYI:
After my Manjaro Linux system auto-updated moneydance, moneydance would fail with this error:
"Exception in thread "main" java.lang.UnsupportedClassVersionError: Moneydance has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0"

NOTE: The error is only seen if run from the command line. If run from the GUI moneydance dies silently.

The cure was to update the java defaults. This fixed my installation:
[asrock jvm]# ls -l
total 8
lrwxrwxrwx 1 root root 14 Apr 14 2018 default -> java-8-openjdk
lrwxrwxrwx 1 root root 14 Apr 14 2018 default-runtime -> java-8-openjdk
drwxr-xr-x 4 root root 4096 Jul 3 07:19 java-12-openjdk
drwxr-xr-x 6 root root 4096 Jul 9 16:50 java-8-openjdk
[asrock jvm]# rm default default-runtime
[asrock jvm]# ln -s java-12-openjdk default
[asrock jvm]# ln -s java-12-openjdk default-runtime

  1. System closed this discussion on 08 Oct, 2019 09:00 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac