3

I am trying to get LibreOffice to work with my Mac. We are trying to use the database application, but keep getting asked to install Java so it can connect to the tables.

I have installed Java and can see that the installed java instance is located here: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/

When I try to manually link this in the settings for LibreOffice it tells me:

The folder you selected does not contain a Java runtime environment. Please select a different folder.

My version of LibreOffice is Version: 5.2.2.2 My version of Mac OS is 10.11.6

I have tried the commands

java -version

and

echo $JAVA_HOME

where the $JAVA_HOME returns nothing.

karel
  • 13,706

2 Answers2

4

You need to install the full JDK rather than just the JRE (which only installs the Applet support). This applies to any macOS application that depends on Java (Eclipse is another example).

The Oracle download page for the Java SE JDK is here

karel
  • 13,706
greg-449
  • 1,164
0

Read the documentation here.

Download and Install Java Runtime Environment for Mac here.

Hope this helps.

Abhishek
  • 103
  • 4