Runtime (JRE) Java and base

I just installed Libre Office and Java 8 update 91. I cannot use base database. Whats going on? It says I need Java runtime, but overtime I go to java and type in runtime and do a system check it says I have it. I have a Mac with the newest OS

From many other answers on this subject, you need to install JDK (which includes JRE). Please see this post Click here.