aboutsummaryrefslogtreecommitdiff
path: root/setup/java-test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-09-17 21:22:34 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-09-17 21:22:46 +1200
commit1432d04a7be8397becd5c88f9e1f075861acbfdc (patch)
treefa7a4b6619ffee11a4eac9d28f5ab56d4d1fe3d0 /setup/java-test
parent99bf70e274fbfb03e0f65c564d7c9f5bdaf115c4 (diff)
downloadtraccar-server-1432d04a7be8397becd5c88f9e1f075861acbfdc.tar.gz
traccar-server-1432d04a7be8397becd5c88f9e1f075861acbfdc.tar.bz2
traccar-server-1432d04a7be8397becd5c88f9e1f075861acbfdc.zip
Update packaging scripts
Diffstat (limited to 'setup/java-test')
-rw-r--r--setup/java-test/README.txt4
-rw-r--r--setup/java-test/Test.java10
-rw-r--r--setup/java-test/test.jarbin887 -> 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
deleted file mode 100644
index f0484f274..000000000
--- a/setup/java-test/test.jar
+++ /dev/null
Binary files differ