Java from Rocky Linux repository honors crypto-policy, a centralized configuration for (most) cryptographic libraries on the host. Crypto-policy settings take precedence over jdk.tls.disabledAlgorithms you manually set, and default crypto policy prohibits TLS v1, but legacy allows it.
The quickest way to get there is to set it to legacy:
update-crypto-policies --set LEGACY
Be aware that:
- this enables TLSv1 but also weakens crypto (minimal key sizes, etc)
- is applicable to all crypto libraries covered by crypto-policies, not just in Java client.
If you wanted to limit to TLS v1 and to java only, you could make write a crypto-policy module that only modifies the java configuration.