update build and run instructions

This commit is contained in:
Arnaud Vergnet 2021-01-12 14:51:01 +01:00
parent 034fb9203d
commit 7bbaa4f8da

View file

@ -31,10 +31,10 @@ Follow [this link](https://gluonhq.com/products/scene-builder/) to download and
Run this command
```shell script
./gradlew run
./gradlew runShadow
```
Or in Intellij, open the gradle window and click on `clavardator -> Tasks -> application -> run`.
Or in Intellij, open the gradle window and click on `clavardator -> Tasks -> application -> runShadow`.
#### Generate cross-platform jar
@ -44,11 +44,13 @@ Run this command
./gradlew build
```
This will generate a jar file under `build/libs`.
This will generate a jar file under `client/build/libs/client-{VERSION}-all.jar`.
You can then copy this file and place it on any Linux/Windows/Mac environment with at least Java 11 installed.
You can then run this jar file with this command:
#### Running a JAR file
You can run a jar file with this command:
```shell script
java -jar <JAR-NAME>.jar