POP up as" LibreOffice requires a 64-bit Java runtime environment (JRE) to perform this task. Please install a JRE and restart LibreOffice" What to do?

LibreOffice FILE VERSION 6.1.0.3 and PRODUCT VERSION 6.1.0.3

After pressing ok on the POP UP another dialogue box with macro location to select and run.

Please help.

https://wiki.documentfoundation.org/Faq/General/InstallJava

The pop comes when macros are run of excel sheet.

Thank you mike.