"Is there any java version that has no vulnerabilities?" software like that probably doesn't exist. By the way, you're using an unmainteined version of debian, of course it's gonna have bugs that don't get fixed. And some versions of Java 17 are already EOLed anyway. Maybe pick a vendor that still supports it (like Eclipse, Amazon, Azure...) and install their version manually and keep it up to date yourself.
↧