JDK install for Mac High Sierra - Issues

New user and just want to work with Base. Mac High Sierra 10.13.6. Have installed JDK from Oracle as a “standard” installation. In terminal: Java --version says: Java 10.0.2 2018-07-17 and Runtime Environment 18.3 (build 10.0.2+13).

Open Base to create new file - error msg: “LibreOffice requires a Java runtime environment (JRE) to perform this task. Please install a JRE and restart LibreOffice”, click ok and get error msg: “The connection to the data source “testdbms” could not be established. No java installation could be found. Please check your installation.” Exiting LibreOffice makes no change.

I’ve seen posts about needing to enable the JRE for web pages, but nothing about how and where to enable it for applications. The Java control panel has “Desktop Settings” where it looks like it might be possible to enable but don’t really have any more time to mess with it…can anyone tell me the next steps that work?


Please see answer in this post → Mac Java problem when creating a database.