Skip to content

Build the engine from source

Build the engine when you want to contribute to jMonkeyEngine or test a change to its code. For a game project, create a project with the Initializer and use published engine modules.

Clone the engine repository and follow its README for the build JDK and toolchain requirements; they can change between branches. On the current development branch Gradle requires JDK 17 or newer, and the build can provision its required compilation toolchain.

git clone https://github.com/jMonkeyEngine/jmonkeyengine.git
cd jmonkeyengine
./gradlew build

On Windows, use gradlew.bat instead. To run the example chooser, use ./gradlew runExamples. For the available modules, see Engine source structure. Some platform modules have additional SDK and operating-system requirements; consult the repository README and the relevant module instructions.