diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-09 10:49:57 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-09 10:49:57 +1200 |
commit | cc3d3021981a799c8c9d28dad4ad9bffa320a370 (patch) | |
tree | 8a1f5af8a5f5a6c12a658c9a466372337f9c01f1 /setup/java-test/Test.java | |
parent | 526ae13099da044a0feeb5afc07563bea0f29c7f (diff) | |
download | trackermap-server-cc3d3021981a799c8c9d28dad4ad9bffa320a370.tar.gz trackermap-server-cc3d3021981a799c8c9d28dad4ad9bffa320a370.tar.bz2 trackermap-server-cc3d3021981a799c8c9d28dad4ad9bffa320a370.zip |
Modify installation scripts
Diffstat (limited to 'setup/java-test/Test.java')
-rw-r--r-- | setup/java-test/Test.java | 5 |
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); + } +} |