You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: distribution/tools/java-version-checker/src/main/java/org/opensearch/tools/java_version_checker/JavaVersionChecker.java
+4-4
Original file line number
Diff line number
Diff line change
@@ -37,14 +37,14 @@
37
37
importjava.util.Locale;
38
38
39
39
/**
40
-
* Simple program that checks if the runtime Java version is at least 11
40
+
* Simple program that checks if the runtime Java version is at least 21
41
41
*/
42
42
finalclassJavaVersionChecker {
43
43
44
44
privateJavaVersionChecker() {}
45
45
46
46
/**
47
-
* The main entry point. The exit code is 0 if the Java version is at least 11, otherwise the exit code is 1.
47
+
* The main entry point. The exit code is 0 if the Java version is at least 21, otherwise the exit code is 1.
48
48
*
49
49
* @param args the args to the program which are rejected if not empty
0 commit comments