JabRef 5.* with Debian 9 stable

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.

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

You could try again with the newest snapshot from today

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

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.

2 Likes

I still have the problem with ā€œJabRef-5.0-devā€“snapshotā€“2019-01-10ā€“masterā€“84573cc38.jarā€.

Am I the only one using JabRef with Debian stable?

It also doesnā€™t worked with the older openjfx version.
$ apt-cache policy openjfx
openjfx:
Installiert: 8u171-b11-2+b1
Installationskandidat: 8u171-b11-2+b1
Versionstabelle:
*** 8u171-b11-2+b1 100
100 /var/lib/dpkg/status
8u141-b14-3~deb9u1 500
500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
8u111-b14-1 500
500 http://ftp.tu-chemnitz.de/pub/linux/debian/debian stretch/main amd64 Packages
500 http://deb.debian.org/debian stretch/main amd64 Packages

GitHub Issue

This is a java-bug-by-design! :wink:

The --jar switch was missing. Java is lacy and do not parse the filename for the ā€˜.jarā€™ string. :face_vomiting:

1 Like