GraalVM Native Executable Example for bld https://github.com/rife2/graalvm-native-bld-example
Find a file
Erik C. Thauvin 6f96d37595
Updated dependencies
Bumped bld to version 2.0.1
Bumped Exec extension to version 1.0.2
Bumped JUnit to version 5.10.3
2024-07-29 00:27:54 -07:00
.idea Updated dependencies 2024-07-29 00:27:54 -07:00
.vscode Updated dependencies 2024-07-29 00:27:54 -07:00
lib/bld Updated dependencies 2024-07-29 00:27:54 -07:00
src Updated dependencies 2024-07-29 00:27:54 -07:00
.gitignore Initial commit 2024-04-04 09:42:06 -07:00
bld Initial commit 2024-04-04 09:42:06 -07:00
bld.bat Initial commit 2024-04-04 09:42:06 -07:00
README.md Added example showing how to build the executable from the main class file 2024-04-04 23:49:39 -07:00

GraalVM Native Executable Example for bld

Be sure to have the GraalVM native-image utility in your path, or set its location in the build file.

Compile the application

./bld compile

Create the Java archive

./bld jar

Create the native application from the Java archive

./bld native-jar

Create the native application from the main class

./bld compile native-class

Launch the application

./hello

Native Image Options

The options documentation can be found at: