JabRef on Ubuntu not opening

(Gavagai 53) #1

Hi! JabRef stopped opening on Ubuntu, giving me:

Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.se.ee not found

java --version shows:

openjdk 11.0.1 2018-10-16
OpenJDK Runtime Environment (build 11.0.1+13-Ubuntu-3ubuntu3.18.10.1)
OpenJDK 64-Bit Server VM (build 11.0.1+13-Ubuntu-3ubuntu3.18.10.1, mixed mode, sharing)

How should I fix this?

Thanks for the help!

0 Likes

(Christoph) #2

You have java 11 installed.

JabRef requires java 8:
http://help.jabref.org/en/FAQlinux

The current 5.x development version is also avaiable as snap. However, the snap version does not work with libre office

Regards
Christoph

0 Likes

(kaktux) #3

as i also use (k)ubuntu here my quick install info.

Open terminal and enter (add sudo if needed):

your java-version:
java -version

Install java:
apt install openjdk-8-jre
apt install openjfx

Download jabref from jabref.org

Create Install directory:
mkdir /opt/jabref

mv downloaded jabref to install directory:

mv /home/yourusername/Downloads/JabRefdownloadname.jar /opt/jabref/jabref.jar

Create starter by openeing editor - e.g. kate:
SUDO_EDITOR=kate sudoedit /opt/jabref/jabref.sh

File Content:
#!/bin/bash
java -jar /opt/jabref/jabref.jar &

Terminal again:
make executable:
chmod +x /opt/jabref/jabref.sh

Start with:
java -jar /opt/jabref/jabref.jar

and/or create Symlink:
ln -s /opt/jabref/jabref.sh /usr/local/bin/jabref

this worked for me.

1 Like

#4

A fix is provided here: https://github.com/JabRef/help.jabref.org/issues/204

2 Likes