"JRE defective" - it wan't yesterday?

I just tried to run a query in an odb that I last used barely 12 hours ago. Then, it worked fine, no issues or errors. Now, I got this

LibreOffice requires a Java runtime environment (JRE) to perform this task. The selected JRE is defective. Please select another version or install a new JRE and select it under Tools - Options - LibreOffice - Advanced.

I have the latest Java installed, as shown in Tools - Options - LibreOffice - Advanced

What would cause it to suddenly be defective, and what is the optimal fix?