Build from source using Maven
Dependencies and requirements
Warning
CatBoost uses CMake-based build process since this commit. Previously Ya Make
(Yandex's build system) had been used.
Select the appropriate build environment setup below accordingly.
-
Linux, macOS or Windows.
-
Set up build environment depending on build type:
-
Python. 3.6+
-
Maven 3.3.9+
-
JDK 8+
Set
JAVA_HOME
environment variable to point to the path of JDK installation
Building steps
-
Clone the repository:
git clone https://github.com/catboost/catboost.git
-
Go to the
catboost/catboost/jvm-packages/catboost4j-prediction
directory from the local copy of the CatBoost repository. -
Use the usual maven build phases in this directory.