I believe this is due to TLS 1.0 and 1.1 being disabled starting in 8u291: https://www.java.com/en/download/help/release_changes.html
You can update/patch your SQL server instances to support TLS 1.2: KB3135244 - TLS 1.2 support for Microsoft SQL Server
Or there’s some way to re-enable TLS 1.0 and 1.1 in Java that I need to search for…