A simple Hello World application using the gradle-jextract Gradle plugin and Project Panama's Foreign Function Interface as well as the Foreign-Memory Access API.
-
If your JDK is not installed in one of the default locations, Gradle can be instructed to look in a custom location. To enable this feature the
org.gradle.java.installations.pathsproperty has to be set within your globalgradle.propertiesfile usually located inside${HOME}/.gradle.org.gradle.java.installations.paths=/custom/path/jdk22
Since this project uses Gradle's application Plugin, the application can be started using one simple command.
./gradlew run