why v 7.0 won't run Java and prevents me using dbase

I’ve just installed a new version of LibreOffice and tried to both open an existing dbase and then create a new dbase. Neither would work. Each time I got the error message saying “The connection to the datasource “Test v7 base” [test new database filename] could not be established”. No JAVA installation could be found. Please check your installation."
I made no change to the installation so how do I fix this. The previous version worked perfectly. When opening a dbase created in previous version I get the same message.

Are you on macOS? If yes - you may be hit by bug tdf#135479 - LO Complains about missing JDK when accessing any Java functionality, despite recognizing JDK on macOS under Preferences