Java installation for BASE under OSX Mojave

What Java installation do I need to run BASE under OSX Mojave

Install JDK from Oracle.

I did that. Does not work.

This is not an answer. Please use add a comment instead. Answers are to respond to original question.

Also worth mentioning what LibreOffice (version and source - is it “Vanilla” from AppStore, or the package from LibreOffice site) you use.