better instructions

This commit is contained in:
observer 2025-01-30 20:17:59 +00:00
parent d681f20b90
commit c781b364d8
Signed by: observer
GPG Key ID: 2DE1FE56348E60D0

View File

@ -8,11 +8,23 @@
### Requirements: ### Requirements:
- Java 21 - Java 21
- Maven 3.8.8 or lower - Maven
- GraalVM 21
### Instructions: ### Instructions:
This will automatically fetch dependencies and run the project:
```shell
./mvnw javafx:run
```
#### Native Image:
##### Requirements:
- GraalVM
- Maven 3.8.8
Create the maven wrapper at version 3.8.8. GluonFX does not work with newer versions as of 2024-07-27. Create the maven wrapper at version 3.8.8. GluonFX does not work with newer versions as of 2024-07-27.
```shell ```shell
@ -26,9 +38,3 @@ Install dependencies, build and run:
``` ```
A native binary should be placed at `target/gluonfx/<your architecture>/libremines` A native binary should be placed at `target/gluonfx/<your architecture>/libremines`
Alternatively, to run using the JVM, use:
```shell
./mvnw javafx:run
```