Added example showing how to build the executable from the main class file

This commit is contained in:
Erik C. Thauvin 2024-04-04 23:49:39 -07:00
parent fdbec5e22a
commit 5fa3c49f45
Signed by: erik
GPG key ID: 776702A6A2DA330E
5 changed files with 30 additions and 14 deletions

View file

@ -8,22 +8,22 @@ Be sure to have the GraalVM `native-image` utility in your path, or set its loca
```console
./bld compile
```
## Create a Java archive
## Create the Java archive
```console
./bld jar
```
## Create the native application
## Create the native application from the Java archive
```console
./bld native-exec
./bld native-jar
```
## Combine the commands
## Create the native application from the main class
```console
./bld compile jar native-exec
./bld compile native-class
```
## Launch the application