Skip to content

Commit de18e88

Browse files
committed
[jvm] Check that we have at least JVM 1.8
1 parent 9a9b659 commit de18e88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Configure.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@
229229
print "got: $_";
230230
if (/(?:java|jdk) version "(\d+)(?:\.(\d+))?/) {
231231
$jvm_found = 1;
232-
if ($1 > 1 || $1 == 1 && $2 >= 7) {
232+
if ($1 > 1 || $1 == 1 && $2 >= 8) {
233233
$jvm_ok = 1;
234234
}
235235
$got = $_;
@@ -243,7 +243,7 @@
243243
}
244244
elsif (!$jvm_ok) {
245245
push @errors,
246-
"Need at least JVM 1.7 (got $got)";
246+
"Need at least JVM 1.8 (got $got)";
247247
}
248248
}
249249
sorry($options{'ignore-errors'}, @errors) if @errors;

0 commit comments

Comments
 (0)