I am running this version of Java:
$ java -version
openjdk version “11.0.8” 2020-07-14
OpenJDK Runtime Environment (build 11.0.8+10-post-Ubuntu-0ubuntu120.04)
OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Ubuntu-0ubuntu120.04, mixed mode, sharing)
How can I solve this problem?
Thank you
Hello Gigiux,
in my case it isn’t working either. Could you please specify which LO version was installed and which is installed now (snap/deb) and which JabRef package you installed?
I have LO 7.0.1.2. I think the problem was that I first ran a sudo apt-get install libreoffice libreoffice-writer libreoffice-java-common jabref java-common to check whether the right java stuff was present. this command installed a LO 6 that interfered with the communication. When I purged LO and re-installed it, the problem was solved.
I have the same problem. I setted manually the directory of libreoffice program classes.
The Jabref start search for the synchrony and finish with the error of Autodetection failed:
com.sun.star.comp.helper.BootstrapException
at org.jabref@5.2.233/org.jabref.gui.openoffice.Bootstrap.bootstrap(Unknown Source)
at org.jabref@5.2.233/org.jabref.gui.openoffice.Bootstrap.bootstrap(Unknown Source)
at org.jabref@5.2.233/org.jabref.gui.openoffice.OOBibBase.simpleBootstrap(Unknown Source)
at org.jabref@5.2.233/org.jabref.gui.openoffice.OOBibBase.<init>(Unknown Source)
at org.jabref@5.2.233/org.jabref.gui.openoffice.OpenOfficePanel.createBibBase(Unknown Source)
at org.jabref@5.2.233/org.jabref.gui.openoffice.OpenOfficePanel$2.call(Unknown Source)
at org.jabref@5.2.233/org.jabref.gui.openoffice.OpenOfficePanel$2.call(Unknown Source)
at org.jabref.merged.module@5.2.233/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)
by default the new Ubuntu verisons install libre office as snap package. However, due to security restrictions JabRef can’t access LO. You need to uninstall libreoffice from the snap package and install it as normal oldschool apt package. Then it should work fine.
Hi @LyzardKing, I installed the .deb version 5.1-1 from https://www.fosshub.com/JabRef.html and try to the version 5.2-1, both unsuccessful. My libreoffice version is 7.0.2.2 and libreoffice-java-common is the newest version (1:7.0.2-0ubuntu1)
I tested with the versions of libreoffice in the ubuntu repos anche the upstream ppa, and they both work automatically, detecting the correct paths.
Check that the snap is not still lauched by running which libreoffice. That should return /usr/bin/libreoffice
@Siedlerchr, the output of snap remove libreoffice was snap "libreoffice" is not installed. I had already remove and purge the libreoffice by apt and install again.
@LyzardKing I’m using the Ubuntu 20.10 Groovy, the output of which libreoffice was the same descripted by you. /usr/bin/libreoffice.
I’m running ubuntu 20.10, with the libreoffice-java-common package installed.
I didn’t set the path manually, it was set already to the correct setting,
and with the deb version of jabref it works…
com.sun.star.comp.helper.BootstrapException at org.jabref@5.2.233/org.jabref.gui.openoffice.Bootstrap.bootstrap(Unknown Source) at org.jabref@5.2.233/org.jabref.gui.openoffice.Bootstrap.bootstrap(Unknown Source) at org.jabref@5.2.233/org.jabref.gui.openoffice.OOBibBase.simpleBootstrap(Unknown Source) at org.jabref@5.2.233/org.jabref.gui.openoffice.OOBibBase.<init>(Unknown Source) at org.jabref@5.2.233/org.jabref.gui.openoffice.OpenOfficePanel.createBibBase(Unknown Source) at org.jabref@5.2.233/org.jabref.gui.openoffice.OpenOfficePanel$2.call(Unknown Source) at org.jabref@5.2.233/org.jabref.gui.openoffice.OpenOfficePanel$2.call(Unknown Source) at org.jabref.merged.module@5.2.233/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)
@LyzardKing, I changed the directory and didn’t work… The same error appears
com.sun.star.comp.helper.BootstrapException at org.jabref@5.2.233/org.jabref.gui.openoffice.Bootstrap.bootstrap(Unknown Source) at org.jabref@5.2.233/org.jabref.gui.openoffice.Bootstrap.bootstrap(Unknown Source) at org.jabref@5.2.233/org.jabref.gui.openoffice.OOBibBase.simpleBootstrap(Unknown Source) at org.jabref@5.2.233/org.jabref.gui.openoffice.OOBibBase.<init>(Unknown Source) at org.jabref@5.2.233/org.jabref.gui.openoffice.OpenOfficePanel.createBibBase(Unknown Source) at org.jabref@5.2.233/org.jabref.gui.openoffice.OpenOfficePanel$2.call(Unknown Source) at org.jabref@5.2.233/org.jabref.gui.openoffice.OpenOfficePanel$2.call(Unknown Source) at org.jabref.merged.module@5.2.233/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)