Skip to content

alexis779/native-sample-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Download GraalVM JDK.

Set JDK

export JAVA_HOME=~/Library/Java/JavaVirtualMachines/graalvm-jdk-20.0.1+9.1/Contents/Home

Run application with agent enabled in the JVM

gradle -Pagent runApp

Copy generated reflection configuration

cp build/native/agent-output/runApp/reflect-config.json src/main/resources/META-INF/native-image

Build native image:

gradle nativeCompile

Run binary:

./build/native/nativeCompile/native-sample-app src/test/resources/input.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages