Description: I had LO 7.6 installed from the snap store with a working JRE. A couple of days ago, I got the request to close LO so it can upgrade to 24.2. After the upgrade, it didn't have a working JRE anymore. Steps to Reproduce: 1. My LO version upgraded via the snap store to 24.2.0.3 2. When starting LO, it tells me there is no JRE selected. 3. When I Go Extras > Options > Advanced, there is no selectable JRE. 4. When I try to manually add the java folder, I cannot access the /usr/lib/jvm directory and its subdirectories. (permission denied) Actual Results: Uninstalling and re-installing LO via the snap store did not solve this issue. Uninstalling and installing the deb package solved the issue and the correct JRE is correctly set and pre-selected. Expected Results: LO from the snap store should select the correct JRE after updates/upgrades. In previous snap upgrades, the JRE did not disappear from the list, and was just unselected at worst. Reproducible: Always User Profile Reset: No Additional Info: Snap version: Version: 24.2.0.3 (X86_64) / LibreOffice Community Build ID: a9077e3fef0a06cb428c7a740a03f33bf70ac6ee CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-US (de_DE.UTF-8); UI: de-DE Calc: threaded deb version: Version: 24.2.0.3 (X86_64) / LibreOffice Community Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-US (de_DE.UTF-8); UI: en-US Calc: threaded I have the following Java version installed: openjdk version "11.0.21" 2023-10-17 OpenJDK Runtime Environment (build 11.0.21+9-post-Ubuntu-0ubuntu120.04) OpenJDK 64-Bit Server VM (build 11.0.21+9-post-Ubuntu-0ubuntu120.04, mixed mode, sharing)
@mathias : did you check the permissions on the snap package manager after installation to see whether it gave an option to set/use the JVM in the corresponding directory ? To my knowledge, the snaps are prepared and produced by Canonical, so this would likely not be a LibreOffice bug.
FWIW, I can confirm that the 24.2 snap package on my Ubuntu 22.04.3 LTS release can not see the JVM either in the corresponding LO Tools > Options dialog. Trying to connect to an existing embedded HSQLDB ODB file and clicking on the Tables icon causes an error message: Impossible d'établir une connexion à la source de données "Invoice_tracker_shared" at /build/libreoffice/parts/libreoffice/build/connectivity/source/commontools/dbexceptio.cxx:403 Clicking on the More button of the error message box displays : "No Java installation could be found. Please check your installation."
Confirming, but as I said, not our bug, IMHO.
I don't see a Java plugin, or "connection", interface in the LibreOffice snap package, so it looks like Canonical either accidentally forgot it when building the snap, or have deliberately done this to force users to migrate to a java snap...
I even tried installing the openjdk snap, but still no joy.
(In reply to Alex Thurgood from comment #3) > Confirming, but as I said, not our bug, IMHO. Thanks for your in-depth looking into the issue. Where can I report bugs to Canonical?
(In reply to mathias.micheel from comment #6) > (In reply to Alex Thurgood from comment #3) > > Confirming, but as I said, not our bug, IMHO. > > Thanks for your in-depth looking into the issue. Where can I report bugs to > Canonical? I think it is via Canonical/Ubuntu's Launchpad website, but you need a Ubuntu One account, or you have to create one, if you don't have one already.