This prevents issues because older documentation may not apply to Java 17. Signed-off-by: Wouter Born <github@maindrain.net>