Copy CMake parameter from dmlc-core. (#4948)

This commit is contained in:
Jiaming Yuan
2019-10-17 23:46:32 -04:00
committed by GitHub
parent a78d4e7aa8
commit 9fc681001a
4 changed files with 14 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ Installation
Installation from source
========================
Building XGBoost4J using Maven requires Maven 3 or newer, Java 7+ and CMake 3.2+ for compiling the JNI bindings.
Building XGBoost4J using Maven requires Maven 3 or newer, Java 7+ and CMake 3.3+ for compiling the JNI bindings.
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.