LibreOffice extension fails due to java.lang.invocationTargetException

I am using LibreOffice 6.4.3.2 on Ubuntu 20.04, and have installed Zotero: 5.0.87.

I have not been able to get the Zotero plugin (or extension) to work with LibreOffice. I've tried reinstalling Zotero but that did not help.

I've also tried to manually install the zotero extension (downloaded this file: https://github.com/zotero/zotero-libreoffice-integration/blob/master/install/Zotero_OpenOffice_Integration.oxt)

In LibreOffice (when trying to manually install the extension) I initially I got the following error:
Could not create Java Implementation Loader

I then opened a terminal and did:
sudo apt install default-jdk

After which when I run:
java -version

I get:
openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-3ubuntu1)
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-3ubuntu1, mixed mode, sharing)

Now if I try to install the extension again with libreoffice (after a restart of the system) I get:
java.lang.invocationTargetException

I have not been able to find more information on this type of bug or what to do next. Help would be appreciated.

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.