Eternal Breaker is a JavaFX-based game. This guide provides the steps to set up, build, and run the game on your system.
- Java 21 or higher
Clone the repository and navigate to the project folder:
git clone https://github.com/Rukkhadevata123/EternalBreakers.git
cd EternalBreakers
You may need to install the game dependencies using the following commands:
./mvnw clean install -s ./.mvn/conf/settings.xml
.\mvnw.cmd clean install -s .\.mvn\conf\settings.xml
To run the game, use the following commands:
./mvnw clean javafx:run -s ./.mvn/conf/settings.xml
.\mvnw.cmd clean javafx:run -s .\.mvn\conf\settings.xml
To build the game package, use the following commands:
./mvnw package -s ./.mvn/conf/settings.xml
.\mvnw.cmd package -s .\.mvn\conf\settings.xml
Visit the JavaFX SDK download page to get the appropriate version of the JavaFX SDK.
For example, if you download the SDK to ~/Downloads/openjfx-17.0.13_linux-x64_bin-sdk.zip
, you can extract it as follows:
unzip ~/Downloads/openjfx-17.0.13_linux-x64_bin-sdk.zip -d target
After building the game, you can run it with the following command:
java --module-path target/javafx-sdk-17.0.13/lib/ --add-modules javafx.controls,javafx.fxml -jar target/eternal_breaker-1.0-RELEASE-jar-with-dependencies.jar
If you've downloaded the JavaFX SDK to D:\javas\javafx-sdk-17.0.13
, use this command to run the game:
java -jar --module-path=D:\javas\javafx-sdk-17.0.13\lib --add-modules javafx.controls,javafx.fxml -jar .\target\eternal_breaker-1.0-RELEASE-jar-with-dependencies.jar