I use JabRef (Version 4.3.1) under Ubuntu (18.04 back when I it worked), but the last time I tried to launch it, I got this error:
Error: Could not find or load main class org.jabref.JabRefMain
After some research, I think the problem might has to do with OpenJFX and the upgrade to Ubuntu 18.10.
According to this post "JabRef explicit requires JDK8 and openjfx8 ".
18.10 comes with openjfx 11+26-4
. I figured out how to install openjfx8 manually by downloading and running the .deb file from https://packages.ubuntu.com.
But I still get the same error.
These are my currently installed versions:
$ java -version
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-0ubuntu0.18.10.1-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
$ apt-show-versions openjfx
openjfx:amd64/cosmic 8u161-b12-1ubuntu2 upgradeable to 11+26-4
openjfx:i386 not installed
I read on another post that openjdk and openjfx needs to match (8u191 <-> 8u161).
What exact version of openjdk and openjfx do I need? And how can I install it?