slawekjaranowski commented on PR #1916:
URL: https://github.com/apache/maven/pull/1916#issuecomment-2481606288
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
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]