gnodet commented on PR #1916: URL: https://github.com/apache/maven/pull/1916#issuecomment-2481615582
> We assume thet user have awk .... What do you think to create a simple class like: > > ```java > public class CheckJavaVersion { > public static void main(String[] args) { > if (Double.parseDouble(System.getProperty("java.vm.specification.version")) < 17.0) { > System.exit(2); > } > } > } > ``` > > compile with target 8, put in bin directory > > it will be easy to execute and check statu code of execution I just changed the script to simply rely on java to verify that the argument can be used. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org