I can't setup JAVA to use with the DataBase

I installed Java, is telling is no longer supported by Safari, but it did the whole process. And when I open LibreOffice to create a DataBase in Mac OSX Catalina v. 10.15.5 I’m getting the following:
«The LibreOffice configuration has been changed. Under LibreOffice - Preferences - LibreOffice - Advanced, select the Java runtime environment you want to have used by LibreOffice.»

Can this help? Frequently asked questions - General - The Document Foundation Wiki