Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
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.zipfile.The extracted
org.optaplanner.optaplanner-8.33.0.Final-redhat-00004/optaplanner-examples/src/main/java/org/optaplanner/examplesdirectory contains example source code.To build the examples, in the
org.optaplanner.optaplanner-8.33.0.Final-redhat-00004directory enter the following command:mvn clean install -Dquickly
mvn clean install -DquicklyCopy to Clipboard Copied! Toggle word wrap Toggle overflow Change to the examples directory:
optaplanner-examples
optaplanner-examplesCopy to Clipboard Copied! Toggle word wrap Toggle overflow To run the examples, enter the following command:
mvn exec java
mvn exec javaCopy to Clipboard Copied! Toggle word wrap Toggle overflow