Este contenido no está disponible en el idioma seleccionado.
Chapter 5. Downloading and building Red Hat Build of OptaPlanner examples
You can download the Red Hat Build of OptaPlanner examples as a part of the Red Hat Build of OptaPlanner sources package available on the Red Hat Customer Portal.
Red Hat Build of OptaPlanner has no GUI dependencies. It runs just as well on a server or a mobile JVM as it does on the desktop.
Procedure
Navigate to the Software Downloads page in the Red Hat Customer Portal (login required), and select the product and version from the drop-down options:
- Product: Red Hat Build of OptaPlanner
- Version: 8.33
- Download Red Hat Build of OptaPlanner 8.33 Source Distribution.
Extract the
rhbop-8.33.0-optaplanner-sources.zip
file.The extracted
org.optaplanner.optaplanner-8.33.0.Final-redhat-00004/optaplanner-examples/src/main/java/org/optaplanner/examples
directory contains example source code.To build the examples, in the
org.optaplanner.optaplanner-8.33.0.Final-redhat-00004
directory enter the following command:mvn clean install -Dquickly
mvn clean install -Dquickly
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Change to the examples directory:
optaplanner-examples
optaplanner-examples
Copy to Clipboard Copied! Toggle word wrap Toggle overflow To run the examples, enter the following command:
mvn exec java
mvn exec java
Copy to Clipboard Copied! Toggle word wrap Toggle overflow