LibreOffice plugin installation issue - unexpected error while searching for Java
I'm having difficulty installing the Zotero LibreOffice plugin on a Debian-based Linux distro. I've successfully installed the plugin many times before, so I'm not sure why it's not working now.
Prior to installing Zotero, I installed the default-jre Java package, as well as all associated dependencies. I then installed Zotero via the tarball. When that didn't work, I uninstalled Zotero and then re-installed it via the DEB package.
In both instances, I got the error message:
(com.sun.star.uno.RuntimeException) {{Message = "[JavaVirtualMachine]: An unexpected error occurred while searching for a Java, 11, at ./stoc/source/javavm/javavm.cxx634", Context = (com.sun.star.uno.Xinterface)@0}}
Should I have installed a different Java package?
Prior to installing Zotero, I installed the default-jre Java package, as well as all associated dependencies. I then installed Zotero via the tarball. When that didn't work, I uninstalled Zotero and then re-installed it via the DEB package.
In both instances, I got the error message:
(com.sun.star.uno.RuntimeException) {{Message = "[JavaVirtualMachine]: An unexpected error occurred while searching for a Java, 11, at ./stoc/source/javavm/javavm.cxx634", Context = (com.sun.star.uno.Xinterface)@0}}
Should I have installed a different Java package?
This discussion has been closed.
Make sure you have a JRE selected in LibreOffice and try installing the plugin manually.
But when I go to LibreOffice tools > options > LibreOffice > Advanced and attempt to select a JRE, every file in that directory is greyed out. What is the exact name of the file that should be selected?
/usr/lib/jvm/java-17-openjdk-amd64
You just need to click OK in the dialog. If you've installed a distro-packaged version of LibreOffice it might help to install it from official debs. If it doesn't work you'll likely get better support from LibreOffice support channels.
When I specify Class Path, I am able to specify a directory and click OK, but the LibreOffice advanced option screen still shows that I don't have a JRE.