I installed JRE so that I can create database but still libre office remain asking for JRE?

My machine is mac os 10.11.6

Me too. Infuriating.

See Libreoffice base 5.1 for mac java runtime issues - #2 by oweng