lib/check_reqs.js fails with
[TypeError: Cannot read property '1' of null]
if javac returns an extra line(s) instead of a single line.
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=gasp
instead of simply
The fix is quite simple:
i. e. remove leading caret at the parsing regular expression, so it is not anchored to a beginning of a string.