LibreOffice plugin installation issue in ubuntu 24.04
Hi
I install latest version of zotero from flathub on my ubuntu 24.04 PC. In app when I click on Install LibreOffice Add-in nothing happens. So I download zotero 7 zip file and extract the extension to install manually. When I click on the .oxt file the following error apears:
(com.sun.star.uno.RuntimeException) {{Message = "[JavaVirtualMachine]: An unexpected error occurred while searching for a Java, 11, at ./stoc/source/javavm/javavm.cxx638", Context = (com.sun.star.uno.Xinterface)@0}}
I found this article https://forums.zotero.org/discussion/106977/libreoffice-plugin-installation-issue-unexpected-error-while-searching-for-java but I don't know how to solve this. Please help me.
Thanks
I install latest version of zotero from flathub on my ubuntu 24.04 PC. In app when I click on Install LibreOffice Add-in nothing happens. So I download zotero 7 zip file and extract the extension to install manually. When I click on the .oxt file the following error apears:
(com.sun.star.uno.RuntimeException) {{Message = "[JavaVirtualMachine]: An unexpected error occurred while searching for a Java, 11, at ./stoc/source/javavm/javavm.cxx638", Context = (com.sun.star.uno.Xinterface)@0}}
I found this article https://forums.zotero.org/discussion/106977/libreoffice-plugin-installation-issue-unexpected-error-while-searching-for-java but I don't know how to solve this. Please help me.
Thanks
“Use a Java runtime environment” is checked but nothing in the list below and I can't select any folder for that.
I download tar.gz file from zotero website and extract it in /opt/zotero. I create Symlink in ~/.local/share/applications/zotero.desktop.
Also I install libreoffice-java-common (sudo apt install libreoffice-java-common) from ubuntu repository.
Then I start zotero and install libreoffice Add-in. Then it works!
no need to use flatpak anymore
[Desktop Entry]
Name=Zotero
Exec=bash -c "/opt/zotero/zotero -url %U"
Icon=/opt/zotero/icons/icon128.png
Type=Application
Terminal=false
Categories=Office;
MimeType=text/plain;x-scheme-handler/zotero;application/x-research-info-systems;text/x-research-info-systems;text/ris;application/x-endnote-refer;application/x-inst-for-Scientific-info;application/mods+xml;application/rdf+xml;application/x-bibtex;text/x-bibtex;application/marc;application/vnd.citationstyles.style+xml
X-GNOME-SingleWindow=true