diff options
Diffstat (limited to 'setup/java-test')
-rw-r--r-- | setup/java-test/README.txt | 4 | ||||
-rw-r--r-- | setup/java-test/Test.java | 10 | ||||
-rw-r--r-- | setup/java-test/test.jar | bin | 887 -> 0 bytes |
3 files changed, 0 insertions, 14 deletions
diff --git a/setup/java-test/README.txt b/setup/java-test/README.txt deleted file mode 100644 index b8ca72a7a..000000000 --- a/setup/java-test/README.txt +++ /dev/null @@ -1,4 +0,0 @@ -Create Java version test: - -javac -target 6 -source 6 Test.java -jar cfe test.jar Test Test.class diff --git a/setup/java-test/Test.java b/setup/java-test/Test.java deleted file mode 100644 index 7d1b3972d..000000000 --- a/setup/java-test/Test.java +++ /dev/null @@ -1,10 +0,0 @@ -public class Test { - public static void main(String[] a) { - String[] versions = System.getProperty("java.version").split("\\."); - int major = Integer.parseInt(versions[0]); - if (major == 1) { - major = Integer.parseInt(versions[1]); - } - System.exit(major >= 7 ? 0 : 1); - } -} diff --git a/setup/java-test/test.jar b/setup/java-test/test.jar Binary files differdeleted file mode 100644 index f0484f274..000000000 --- a/setup/java-test/test.jar +++ /dev/null |