diff --git a/doc/jvm/index.md b/doc/jvm/index.md index 13c2aa709..88879c2d8 100644 --- a/doc/jvm/index.md +++ b/doc/jvm/index.md @@ -7,7 +7,7 @@ You have find XGBoost JVM Package! Installation ------------ -Currently, XGBoost4J only support installation from source. Building XGBoost4J using Maven requires Maven 3 or newer and Java 7+. +Currently, XGBoost4J only support installation from source. Building XGBoost4J using Maven requires Maven 3 or newer, Java 7+ and CMake 3.2+ 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.