You can install the Connector/J package using either a binary or source distribution. While the binary distribution provides the easiest method for installation, the source distribution lets you customize your installation. Both types of distributions are available from the Connector/J Download page. The source code for Connector/J is also available on GitHub at https://github.com/mysql/mysql-connector-j.
Connector/J is also available as a Maven artifact in the Central Repository. See Section 3.3.2, “Installing Connector/J Using Maven” for details.
If you are upgrading from a previous version, read the upgrade information in Section 3.3.4, “Upgrading from an Older Version” before continuing.
Protocol Buffers (
protobuf-java) is required for using X DevAPI
Oracle Cloud Infrastructure SDK for Java (
oci-java-sdk) is required to support OCI AIM authentication
Simple Logging Facade API (
slf4j-api) is required for using the logging capabilities provided by the default implementation of
These and other third-party libraries are required for building Connector/J from source—see the section for more information on the required libraries, including the required versions and download locations.