GraalVM Native Executable Example for bld https://github.com/rife2/graalvm-native-bld-example
Find a file
2025-03-28 21:19:45 -07:00
.idea Bump bld to version 2.2.1 2025-02-25 10:32:00 -08:00
.vscode Bump bld to version 2.2.1 2025-02-25 10:32:00 -08:00
lib/bld Bump Exec extension from 1.0.4 to 1.0.5 2025-03-28 21:19:45 -07:00
src Bump JUnit to version 5.12.1 2025-03-18 23:42:52 -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: