How to connect LibreOffice 7 to JabRef 5.1 in Ubuntu 20

I also have the same problem in Ubuntu 20.04.1.

I’ve set the manual path to /usr/lib/libreoffice which fails. Also tried /usr/lib/libreoffice/program/classes. Files unoil.jar, jurt.jar,juh.jar, rdl.jar are in the classes folder. The libreoffice-java-common package is installed.

I’m using Libreoffice version 6.4.6.2 and JabRef 5.1–2020-08-30–e023aa0, both deb versions. I checked Tools -> Options -> Libreoffice -> Advanced and Java is selected.

$ java --version
openjdk 11.0.9.1 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)

Any suggestions?

The jabref error message:
com.sun.star.comp.helper.BootstrapException: no office executable found!
at org.jabref@5.1.60000/org.jabref.gui.openoffice.Bootstrap.bootstrap(Unknown Source)
at org.jabref@5.1.60000/org.jabref.gui.openoffice.Bootstrap.bootstrap(Unknown Source)
at org.jabref@5.1.60000/org.jabref.gui.openoffice.OOBibBase.simpleBootstrap(Unknown Source)
at org.jabref@5.1.60000/org.jabref.gui.openoffice.OOBibBase.(Unknown Source)
at org.jabref@5.1.60000/org.jabref.gui.openoffice.OpenOfficePanel.createBibBase(Unknown Source)
at org.jabref@5.1.60000/org.jabref.gui.openoffice.OpenOfficePanel$2.call(Unknown Source)
at org.jabref@5.1.60000/org.jabref.gui.openoffice.OpenOfficePanel$2.call(Unknown Source)
at org.jabref.merged.module@5.1.60000/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)

I have the most updated version but still with same problem…
Version:
JabRef 5.2–2020-11-09–b80e4ed
Linux 5.8.0-48-generic amd64
Java 15.0.1

Libreoffice
java-common is already the newest version (0.72).
libreoffice-java-common is already the newest version (1:7.0.3-0ubuntu0.20.10.1).
libreoffice-writer is already the newest version (1:7.0.3-0ubuntu0.20.10.1).
libreoffice is already the newest version (1:7.0.3-0ubuntu0.20.10.1).
jabref is already the newest version (5.2.233-1).

I switched from Ubuntu to Fedora, which worked without problem. But it would be good to see this fixed in Ubuntu.

@Natan_Diego Do you have installed LibreOffice or JabRef as snap?
You have to use the “traditional” variant for both

Hi, Christoph! I installed JabRef as 5.2.1.deb from (Download JabRef latest release).
Also, I tried to install an old version from apt-get too, but it didn’t work.

Hi
I got the same probleme, I solved it by uninstalling both LibreOffice and Jabref via snap, then installing them again via the traditional .deb
Cheers

1 Like

@CathIndri Yes, this is a known issue. It’s because snaps are sandboxed for security reasons (except some allowed stuff) and therefore cannot communicate with each other directly