Skip to content

Commit

Permalink
Merge branch 'master' into Spark3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ghislainfourny authored Oct 28, 2024
2 parents ad37f76 + 771cc06 commit 626d0d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/org/rumbledb/cli/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ public class Main {

public static void main(String[] args) throws IOException {
String javaVersion = System.getProperty("java.version");
if (!javaVersion.startsWith("1.8") && !javaVersion.startsWith("11.")) {
System.err.println("[Error] RumbleDB requires Java 8 or Java 11.");
if (!javaVersion.startsWith("11.") && !javaVersion.startsWith("17.")) {
System.err.println("[Error] RumbleDB requires Java 11 or 17.");
System.err.println("Your Java version: " + System.getProperty("java.version"));
System.err.println("You can download Java 8 or 11 from https://adoptium.net/");
System.err.println("You can download Java 11 or 17 from https://adoptium.net/");
System.err.println(
"If you do have Java 8 or 11, but the wrong version appears above, then it means you need to set your JAVA_HOME environment variable properly to point to Java 8 or 11."
"If you do have Java 11 or 17, but the wrong version appears above, then it means you need to set your JAVA_HOME environment variable properly to point to Java 11 or 17."
);
System.exit(43);
}
Expand Down

0 comments on commit 626d0d3

Please sign in to comment.