aboutsummaryrefslogtreecommitdiff
path: root/setup/java-test/Test.java
diff options
context:
space:
mode:
Diffstat (limited to 'setup/java-test/Test.java')
-rw-r--r--setup/java-test/Test.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/setup/java-test/Test.java b/setup/java-test/Test.java
new file mode 100644
index 000000000..363d6953e
--- /dev/null
+++ b/setup/java-test/Test.java
@@ -0,0 +1,5 @@
+public class Test {
+ public static void main(String[] a) {
+ System.exit(Integer.parseInt(System.getProperty("java.version").split("\\.")[1]) >= 7 ? 0 : 1);
+ }
+}