I am unable to create a database as Libre base asks for Java to be installed but Java is installed V8-77 I'm using MAC OS X el capitan

“The connection to the data source GPBC could not be established.
No Java installation could be found. Please check your installation”.

The above is the error i receive

Check this solution (link below) of installing JDK v7 or v8 (Development version - not runtime). It just worked for me but I had to go to Preferences → LibreOffice → Advanced and select the JDK after I installed it before it would work.

Thank you yangchenchick did the trick