It probably has to do with TLS 1.2 support in SQL Server and the Java version changing when you upgraded to one that drops TLS 1.0/1.1.
Patching/upgrading SQL Server, re-enabling the deprecated TLS versions in Java, or rolling back to an earlier version are the only options I'm aware of.