Which Java JDK & JRE is needed for LibreOffice 6.1

Just updated to LibreOffice 6.1.0.3 on MacOS 10.13.4
Trying to open a MySQL database via JBC Connection-- org.openoffice.comp.drivers.MySQL.Driver
Using Advanced Java Options Oracle runtime (Java 11) mysql-connector-java-5.1.22.bundle.jar

Error message “The driver class ‘com.mysql.jdbc.Driver’ could not be loaded”

Any ideas?

MacOS High Sierra 10.13.4
MacBook Pro (15-inch, 2016)
LibreOffice Version: 6.1.0.3

Hello,

You don’t state if this was a working connection prior to the LO upgrade. If so, what version of LO was working before?

Mac OS needs Java JDK installed - JRE is not sufficient. Since JDK 11 was just released, and it may work without a problem, it would not be unusual for it not to work with LO. In that case, install JDK 10 or even JDK 8.

Not certain about the connector you state. You should be using a connector from MySQL - Connector/J v8.x is the latest.

Thanks for the quick and correct answer.
Now using JDK 11 and MySQL - connector J v8.x

Can you please explain How to add the connector to LO. I tried through Extension Manager, but was not successful. Thanks

@jorengo Try this post → Connect LibreOffice to MySQL