[jvm-packages] Mentioned CMake in the docs (#2529)

This commit is contained in:
Sergei Lebedev 2017-07-24 06:57:31 +02:00 committed by Nan Zhu
parent 4f3539b913
commit d41dc078b6

View File

@ -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.