JabRef 4.3.1 with Debian stable

(Buhtz) #1

I try to find out if it is possible to run the current JabRef stable release 4.3.1 on a Debian stable.

Everythink with openjdk-8* openjfx-8* *headless and what ever is installed.

But the message is still

$ java JabRef-4.3.1.jar
Fehler: Hauptklasse JabRef-4.3.1.jar konnte nicht gefunden oder geladen werden

Meaning “mainclass not found”.

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

(Christoph) #2

should be possible in general, the error looks like that your java path is somehow wrong/pointing to a jdk9.
sudo update-alternatives --config java

and chose the correct one.

had similiar things under ubuntu when I switched versions.



I was able to reproduce the same issue on a clean Debian stretch install until I installed openjfx. You might also need to install OpenGL libraries (libgl1-mesa-glx and libgl1-mesa-dri) if you get GLX errors during the startup.

before openjfx

java -jar JabRef-4.3.1.jar
Error: Could not find or load main class org.jabref.JabRefMain

after openjfx install

sudo apt install openjfx
java -jar JabRef-4.3.1.jar
(jabref starts)

Hope that helps.