summaryrefslogtreecommitdiffstats
path: root/depends/javacheck
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-04-10 15:53:05 +0200
committerPetr Mrázek <peterix@gmail.com>2016-05-01 00:00:14 +0200
commitb6d455a02bd338e9dc0faa09d4d8177ecd8d569a (patch)
tree41982bca1ede50049f2f8c7109dd18edeefde6d0 /depends/javacheck
parent47e37635f50c09b4f9a9ee7699e3120bab3e4088 (diff)
downloadMultiMC-b6d455a02bd338e9dc0faa09d4d8177ecd8d569a.tar
MultiMC-b6d455a02bd338e9dc0faa09d4d8177ecd8d569a.tar.gz
MultiMC-b6d455a02bd338e9dc0faa09d4d8177ecd8d569a.tar.lz
MultiMC-b6d455a02bd338e9dc0faa09d4d8177ecd8d569a.tar.xz
MultiMC-b6d455a02bd338e9dc0faa09d4d8177ecd8d569a.zip
NOISSUE reorganize and document libraries
Diffstat (limited to 'depends/javacheck')
-rw-r--r--depends/javacheck/.gitignore6
-rw-r--r--depends/javacheck/CMakeLists.txt13
-rw-r--r--depends/javacheck/JavaCheck.java24
3 files changed, 0 insertions, 43 deletions
diff --git a/depends/javacheck/.gitignore b/depends/javacheck/.gitignore
deleted file mode 100644
index cc1c52bf..00000000
--- a/depends/javacheck/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-.idea
-*.iml
-out
-.classpath
-.idea
-.project
diff --git a/depends/javacheck/CMakeLists.txt b/depends/javacheck/CMakeLists.txt
deleted file mode 100644
index 9768650e..00000000
--- a/depends/javacheck/CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-cmake_minimum_required(VERSION 3.1)
-project(launcher Java)
-find_package(Java 1.6 REQUIRED COMPONENTS Development)
-
-include(UseJava)
-set(CMAKE_JAVA_JAR_ENTRY_POINT JavaCheck)
-set(CMAKE_JAVA_COMPILE_FLAGS -target 1.6 -source 1.6 -Xlint:deprecation -Xlint:unchecked)
-
-set(SRC
- JavaCheck.java
-)
-
-add_jar(JavaCheck ${SRC})
diff --git a/depends/javacheck/JavaCheck.java b/depends/javacheck/JavaCheck.java
deleted file mode 100644
index 11420b86..00000000
--- a/depends/javacheck/JavaCheck.java
+++ /dev/null
@@ -1,24 +0,0 @@
-import java.lang.Integer;
-
-public class JavaCheck
-{
- private static final String[] keys = {"os.arch", "java.version"};
- public static void main (String [] args)
- {
- int ret = 0;
- for(String key : keys)
- {
- String property = System.getProperty(key);
- if(property != null)
- {
- System.out.println(key + "=" + property);
- }
- else
- {
- ret = 1;
- }
- }
-
- System.exit(ret);
- }
-}