LibreOffice requires a Java runtime environment (JRE) to perform this task. Why do I get this message and how can I fix it?

I get this error message every time I try to create/use LibreOffice base " LibreOffice requires a Java runtime environment (JRE) to perform this task. Please install a JRE and restart LibreOffice." Why do I get this message and how can I fix it?

I can't create a database because of this error message. I don't know how to fix it. Could someone help me fix this problem?

Comments

I have Windows 10 64 bit LO So I need 64bit Java right! I don't think I can download Java using Google browser because I did that a few years ago and it did not work. So I will try Microsoft Edge to see if that helps. Thanks for the help!

@Skyler63 Glad it is working. However you assumption based upon Windows being 64 bit is not correct. Win 64 can run either LO 32 or 64 bit. Therefore, JRE 32 or 64 bit is based upon which LO is installed.

If this answers your question please tick the ✔ (upper left area of answer). It helps others to know there was an accepted answer.

I tried fixing this problem myself for a year or so using both versions of LO and Java 32 bit and 64 and neither worked. The only thing I did differently this time I used Microsoft Edge. For some reason, Google does not like Java to say simply they don't play nice.