The connection to the data source could not be found. No Java installation could be found

I am not sure why the file (base) in my desktop PC stopped working. The file works fine in my laptop (files between desktop and laptop are synchronised).
I use Windows 10 on both devices.
I tried tools>options>LibreOffice/Advanced. I can see 'Oracle Corporation 1.8.0_152 and the Jave Options ticked.
Then LibreOffice Base>Databases and I can see the registered name, the file name and location are correct.
What am I doing wrong?

Hello,

On the non-working system, to the left of Oracle-Corp... there is a circle. Is there a dot in the middle of it? If not, left click to place one in it which means it is selected (you can have multiple Java versions installed) the save, close all open LO instances and try it again.