Zotero + LibreOffice (Linux/Ubuntu based distros) - Credits to Kameid
Trying to solve the problem where the Zotero plugin doesn't work properly in the Linux LibreOffice Writer:
1. Uninstall Zotero
2. Make sure you have a Java Runtime Environment installed. In LibreOffice, go to Tools>Options>Advanced. Make sure you have the "Use Java runtime environment" box checked, and if there is a JRE installed. If there isn't one, open terminal and install the latest JRE:
sudo apt install openjdk-8-jre
3. Check if your installation worked. Run:
java -version
Output:
4. Restart LibreOffice
5. install libreoffice-java-common:
sudo apt install libreoffice-java-common
6. Install Zotero
It should work fine now:
Credits to Kameid
Zotero's post about the troubleshooting process for the word processor plugin.
Bonus in case it didn't work
- Navigate to the Zotero application files:
- Go to the directory where Zotero is installed and open
extensions/zoteroOpenOfficeIntegration@zotero.org/install
(Zotero 6) orintegration/libreoffice
(Zotero 7) - For Flatpak:
~/.local/share/flatpak/app/org.zotero.Zotero/x86_64/stable/.../files/share/zotero/extensions/zoteroOpenOfficeIntegration@zotero.org/install
- Or search for
Zotero_OpenOffice_Integration.oxt
on your file manager (Nautilus, Dolphin...)
- Double-click the Zotero_OpenOffice_Integration.oxt file to install it. Alternatively, go to Tools → Extension Manager in LibreOffice, click Add, and select the .oxt from the above folder.