JabRef 5.* with Debian 9 stable


(Buhtz) #1

Now I have problems to start the JabRef 5.* dev version under Debian 9 stable.

user@TONNE:~/Downloads$ java ./JabRef*.jar
Fehler: Hauptklasse ..JabRef-5.0-dev--snapshot--2018-10-29--master--11a62dd5e.jar konnte nicht gefunden oder geladen werden

user@TONNE:~/Downloads$ java -version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-2~deb9u1-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)

user@TONNE:~/Downloads$ sudo update-alternatives --config java
Es gibt nur eine Alternative in Link-Gruppe java (die /usr/bin/java bereitstellt): /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
Nichts zu konfigurieren.

user@TONNE:~/Downloads$ sudo apt install openjfx
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
openjfx ist schon die neueste Version (8u141-b14-3~deb9u1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

(Christoph) #2

Hm, that’s odd. We recently had some problems with the startup of JabRef.

You could try again with the newest snapshot from today


(Buhtz) #3

The same problem with the Nov 3rd snapshot and a updated Debian 9.


(Reox) #4

I got a similar problem with Jabref 4.3.1. I found out that openjfx was recenty upgraded in unstable to version 11 and does not work with java 8.
I went to snapshot.debian.org and downloaded the correct openjfx version for my openjdk and made jabref work again.
openjfx is a very odd package, as it does not depends on the version of openjdk in the package but it seems to only work for the exact java version. According to the debian issue tracker, there is no intention to create a separate openjfx-8 package… Odd enough, there is no openjfx 181 but only 171…
For me the combination of

openjdk version "1.8.0_171"                                                                                            
OpenJDK Runtime Environment (build 1.8.0_171-8u171-b11-2-b11)
OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)

and

Package: openjfx
Version: 8u171-b11-2

worked.