Fix doc for CMake requirement. (#6123)

This commit is contained in:
neko
2020-09-16 17:59:43 +08:00
committed by GitHub
parent 9e955fb9b0
commit 6bc9b9dc4f
2 changed files with 2 additions and 2 deletions

View File

@@ -154,7 +154,7 @@ To enable the GPU algorithm (``tree_method='gpu_hist'``), use artifacts ``xgboos
Installation from source
========================
Building XGBoost4J using Maven requires Maven 3 or newer, Java 7+ and CMake 3.3+ for compiling the JNI bindings.
Building XGBoost4J using Maven requires Maven 3 or newer, Java 7+ and CMake 3.13+ 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.