https://bugs.documentfoundation.org/show_bug.cgi?id=159657

            Bug ID: 159657
           Summary: No JRE findable after LO upgrade to 24 via snap
           Product: LibreOffice
           Version: 24.2.0.3 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

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)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to