Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Anda dapat menginstal OR-Tools untuk Java dari pengelola
paket Maven, mem-build-nya dari sumber, atau menggunakan arsip Java SDK.
Opsi Maven lebih mudah, jadi kami merekomendasikannya kecuali jika Anda berencana untuk mengubah
kode sumber atau menyesuaikan build.
Menggunakan paket Maven
Panduan berikut menjelaskan cara menggunakan OR-Tools untuk Java menggunakan
paket Maven yang dipublikasikan:
[null,null,["Terakhir diperbarui pada 2024-08-09 UTC."],[[["\u003cp\u003eOR-Tools for Java can be installed using Maven packages, by building from source, or using binary distributions.\u003c/p\u003e\n"],["\u003cp\u003eThe Maven installation is the easiest method and is recommended unless modifications or customizations to the source code are needed.\u003c/p\u003e\n"],["\u003cp\u003eBuilding from source is required for using third-party solvers with OR-Tools.\u003c/p\u003e\n"],["\u003cp\u003eDetailed installation instructions for all methods are provided for Linux, macOS, and Windows operating systems.\u003c/p\u003e\n"]]],["OR-Tools for Java can be installed via Maven, building from source, or using a binary distribution. Maven is the recommended method unless source code modification or custom builds are needed. Using a third-party solver requires building from the source. Guides are provided for each installation method on Linux, macOS, and Windows. These guides cover using Maven packages, source installation, and binary distribution.\n"],null,["# OR-Tools for Java\n\nYou can install OR-Tools for Java either from the Maven package\nmanager, build it from source or use the Java SDK archive.\nThe Maven option is easier, so we recommend it unless you plan to modify\nthe source code or customize the build.\n| **Note:** If you plan to use a third-party solver with OR-Tools, you need to build OR-Tools from source.\n\nUsing Maven packages\n--------------------\n\nThe following guides explain how to use OR-Tools for Java using the\npublished Maven packages:\n\n- [Using Maven package on Linux](/optimization/install/java/pkg_linux)\n- [Using Maven package on MacOS](/optimization/install/java/pkg_mac)\n- [Using Maven package on Windows](/optimization/install/java/pkg_windows)\n\nBuild from Source\n-----------------\n\nThe following guides explain how to build from source OR-Tools for Java\n:\n\n- [Source installation on Linux](/optimization/install/java/source_linux)\n- [Source installation on MacOS](/optimization/install/java/source_mac)\n- [Source installation on Windows](/optimization/install/java/source_windows)\n\nBinary distributions\n--------------------\n\nThe following guides explain how to install OR-Tools for Java from a\nbinary distribution:\n\n- [Binary installation on Linux](/optimization/install/java/binary_linux)\n- [Binary installation on MacOS](/optimization/install/java/binary_mac)\n- [Binary installation on Windows](/optimization/install/java/binary_windows)"]]