update build and run instructions
This commit is contained in:
parent
034fb9203d
commit
7bbaa4f8da
1 changed files with 6 additions and 4 deletions
10
README.md
10
README.md
|
@ -31,10 +31,10 @@ Follow [this link](https://gluonhq.com/products/scene-builder/) to download and
|
||||||
Run this command
|
Run this command
|
||||||
|
|
||||||
```shell script
|
```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
|
#### Generate cross-platform jar
|
||||||
|
|
||||||
|
@ -44,11 +44,13 @@ Run this command
|
||||||
./gradlew build
|
./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 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
|
```shell script
|
||||||
java -jar <JAR-NAME>.jar
|
java -jar <JAR-NAME>.jar
|
||||||
|
|
Loading…
Reference in a new issue