Building the client yourself?
Step 1: Download and Install Java SDK version 8
- Download from Java SDK version 8 (opens in a new tab).
- Install it and set the
JAVA_HOME
environment variable to the installation directory.
Step 2: Verify Java Installation
- Open a terminal or command prompt.
- Run
java -version
. - Ensure the output contains
openjdk version "1.8.0_{...}"
.
Step 3: Install Gradle 4.7
- Download from Gradle 4.7 (opens in a new tab).
- Follow the "Installing manually" guide on the Gradle wiki (opens in a new tab).
Step 4: Clone the Repository
- Run the following commands in the terminal or command prompt:
git clone --recursive https://github.com/xia-mc/Raven-XD.git cd Raven-XD
Step 5: Set Up the Project
- Run the following commands to set up the Gradle wrapper and the development environment:
gradlew.bat gradle wrapper gradlew build
Step 6: Build Success
- If all steps complete without errors, the project is successfully built.
- The compiled JAR file can be found in the
build/libs
directory.