This project contains a sample, "Hello World"-style Supernaut.FX application using built with Gradle, the Badass JLink Plugin, jlink and jpackage to produce natively-packaged applications for Linux, macOS, and Windows.
-
git clone [email protected]:SupernautApp/supernaut-fx-sample-gradle.git
-
cd supernaut-fx-sample-gradle
-
./gradlew build
To run via Gradle:
-
./gradlew run
To build a natively-packaged executable:
-
./gradlew jpackageImage
The executable can be found in the build/jpackage
directory.
To build a native package for distribution:
-
./gradlew jpackage
The installer package can be found in the build/jpackage
directory.
-
Install Graal VM
java17
version 22.0.0.2 or later (Latest GraalVM JDK 17) -
Set
GRAALVM_HOME
environment variable
If you are building a GraalVM native image with GluonFX you may need to install additional software (depending upon your platform) see the Gluon Documentation for info.