Hi there, I’m very frustrated installing LO with Zotero in a class room that has Mac Minis with MacOS 14. I tried both the latest LO 24.2.3 and the previous 7.6.7, same error. LibreOffice fails to detect the Java installation. By now, I tried three JDK versions, JDK 21 from Oracle, JDK 17 from Oracle, and Temurin (Adoptium) 21. None of them is automatically detected, although obviously correctly installed (I can run java
or javac
from the terminal).
$ java -version
java version "21.0.3" 2024-04-16 LTS
Java(TM) SE Runtime Environment (build 21.0.3+7-LTS-152)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.3+7-LTS-152, mixed mode, sharing)
But when I open LibreOffice, I just get the ominous error message:
JRE Required. LibreOffice requires Oracle’s Java Development Kit (JDK) on macOS 10.10 or greater to perform this task. Please install them and restart LibreOffice. Frequently asked questions - General - The Document Foundation Wiki
And I go to Preferences > LibreOffice > Advanced > Java Options, the list of installed JREs is empty. I am trying to manually add, going into /Library/Java/...
:
And trying every possible sub-directory, obviously starting with Contents/Home
, e.g. /Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home
.
But no matter, what I do, all I get is this lousy message:
The folder you selected, does not contain a Java runtime environment. Please select a different folder.