MySQL Connector/J 8.0 Developer Guide

Chapter 2 Compatibility with MySQL and Java Versions

Here is some compatibility information for Connector/J 8.0: