We are planning on changing ZAP to require a minimum of Java 21 from the next main release, ZAP 2.18.0.
This will allow us to use new Java features and performance improvements, as well as Java libraries which no longer support older versions.
If this change will cause you particular problems then please let us know the details ASAP.
Many thanks,
Simon