graphics in java 17 requires additional options

60 jobs for java-17-compliance in 21 minutes and 32 seconds (queued for 12 seconds)