Libreoffice update can't find JRE

I just updated snaps (sudo snap refresh) and now have LibreOffice 24.2. Normally, after an update, LibreOffice Base can’t find my Java Runtime Environment. This is usually easily remedied by going into Tools -> Options -> LibreOffice -> Advanced and selecting a JRE that’s listed as installed. This time the box with the installed JREs was blank.

I checked in the terminal:

rosalyn@rosalyn-ThinkPad-T14-Gen-1:~$ java --version
openjdk 11.0.22 2024-01-16
OpenJDK Runtime Environment (build 11.0.22+7-post-Ubuntu-0ubuntu220.04.1)
OpenJDK 64-Bit Server VM (build 11.0.22+7-post-Ubuntu-0ubuntu220.04.1, mixed mode, sharing)

So, do I have everything I need and how do I get LibreOffice to work with my database files?

Asked By: Rosalyn

||

I got rid of the snap version and installed the deb version from the repositories. Base now finds the JRE. Thanks to all who commented!

Answered By: Rosalyn
Categories: Answers Tags: , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.