I’ve combed through several posts related to this one, but I have not found a solution.
I discovered that Libre can’t find java on my system when I got the following message:
“LibreOffice requires a Java runtime environment (JRE) to perform this task. Please install a JRE and restart LibreOffice.”
Running Libre Version: 184.108.40.206
Mac OS: 10.11.6
Oracle Java version 8.111
Attempting to solve this, I updated Oracle Java to version 8 update 111. And installed Apple’s legacy Java 6. I then saw in some other posts that a JDK may be needed, rather than a JRE. According to Oracle’s website, I need to download a file called jdk-8uversion-macosx-x64.dmg, which I have been unable to find. I believe that the installer in jdk-8u112-macosx-x64.dmg should also install a JDK, however. But it seems not to have. I am at a loss.
In Libre, I went to Settings/LibreOffice/Advanced and verified that “Use a Java Runtime Environment” is checked.
I then clicked the “Add” button, which prompted me to browse my system for a runtime file.
I browsed the following directories, without finding a file that Libre would accept.
I’m guessing that I didn’t actually install a jdk because the following directory does not exist.
What do I need to do?