GraalVM Native Executable Example for bld https://github.com/rife2/graalvm-native-bld-example
Find a file
2024-05-09 21:35:18 -07:00
.idea Bumped bld to version 1.9.1 2024-05-09 21:35:18 -07:00
.vscode Bumped bld to version 1.9.1 2024-05-09 21:35:18 -07:00
lib/bld Bumped bld to version 1.9.1 2024-05-09 21:35:18 -07:00
src Added example showing how to build the executable from the main class file 2024-04-04 23:49:39 -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: