From f75d78f6869b510349dd00e92a37f139c1e5ad1b Mon Sep 17 00:00:00 2001 From: avl055 Date: Sun, 10 Apr 2016 23:52:09 +0100 Subject: [PATCH] updating JVM docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit adding “-DskipTests” to Docs for JVM. without this flag building takes forever --- doc/jvm/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/jvm/index.md b/doc/jvm/index.md index e9a16477e..a776c378c 100644 --- a/doc/jvm/index.md +++ b/doc/jvm/index.md @@ -11,7 +11,7 @@ Currently, XGBoost4J only support installation from source. Building XGBoost4J u Before you install XGBoost4J, you need to define environment variable `JAVA_HOME` as your JDK directory to ensure that your compiler can find `jni.h` correctly, since XGBoost4J relies on JNI to implement the interaction between the JVM and native libraries. -After your `JAVA_HOME` is defined correctly, it is as simple as run `mvn package` under jvm-packages directory to install XGBoost4J. +After your `JAVA_HOME` is defined correctly, it is as simple as run `mvn package -DskipTests` under jvm-packages directory to install XGBoost4J. NOTE: XGBoost4J requires to run with Spark 1.6 or newer