public boolean isJava25Compatible() {
    return javaSpecVersionNumber.getMajor() >= 25;
  }
Tells whether the Java version is compatible with Java 25.

@since 2.4
@return whether the Java version is compatible with Java 25
spock-core/src/main/java/spock/util/environment/Jvm.java