diff --git a/bin/lib/check_reqs.js b/bin/lib/check_reqs.js index 7790b226..8f1f6460 100644 --- a/bin/lib/check_reqs.js +++ b/bin/lib/check_reqs.js @@ -154,7 +154,7 @@ module.exports.check_java = function() { .then(function (output) { console.log(output); //Let's check for at least Java 8, and keep it future proof so we can support Java 10 - var match = /javac ((?:1\.)(?:[8-9]\.)(?:\d+))|((?:1\.)(?:[1-9]\d+\.))(?:\d+)/i.exec(output); + var match = /javac ((?:1\.)(?:[8-9]\.)(?:\d+))|((?:1\.)(?:[1-9]\d+\.)(?:\d+))/i.exec(output); return match && match[1]; }); });