Skip to content

Build from Source

Prerequisites

Important

Orion requires Java 8+ to compile; earlier versions are not supported.

Installation on Linux / Unix / Mac OS X

Clone the Orion Repository

Clone the PegaSysEng/orion repository:

git clone https://github.com/PegaSysEng/orion.git

Build Orion

After cloning, go to the orion directory.

Build Orion with the Gradle wrapper gradlew, omitting tests as follows:

./gradlew build -x test

Go to the distribution directory:

cd build/distributions/

Expand the distribution archive:

tar -xzf orion-<version>.tar.gz

Move to the expanded folder and display the Orion help to confirm installation.

cd orion-<version>/
bin/orion --help

Installation on Windows

Install Orion

Clone the PegaSysEng/orion repository:

git clone https://github.com/PegaSysEng/orion.git

Build Orion

Go to the orion directory:

cd orion

Build Orion with the Gradle wrapper gradlew, omitting tests as follows:

.\gradlew build -x test

Note

To run gradlew, you must have the JAVA_HOME system variable set to the Java installation directory. For example: JAVA_HOME = C:\Program Files\Java\jdk1.8.0_181.

Go to the distribution directory:

cd build\distributions

Expand the distribution archive:

tar -xzf orion-<version>.tar.gz

Go to the expanded folder and display the Orion help to confirm installation.

cd orion-<version>
bin\orion --help

Questions or feedback? You can discuss issues and obtain free support on Orion Gitter channel.
For paid professional support by PegaSys, contact us at [email protected]