lhotari commented on issue #14951:
URL: https://github.com/apache/pulsar/issues/14951#issuecomment-1084825185
One possible solution to pass `-Djava.version` limited to 3 parts (x.x.x)
using awk
```bash
java -Djava.version=$(java -version 2>&1| head -1 | awk -F\" '{ print $2 }'
| awk -F. '{ print $1 "." $2 "." $3 }') otherArguments
```
--
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]