A JavaFX "Hello world" application that shows how to use the Badass JLink Plugin.
It is structured as a Gradle multi-project containing the following subprojects:
- greeter-api - the greeting service API
- greeter-impl - an implementation of the greeting service API
- gui - a JavaFX application that uses the greeting service
Running with gradle:
./gradlew run
A window containing the text Hello, OpenJFX!
should appear on the screen.
Creating and executing a custom runtime image:
./gradlew jlink
cd gui/build/image/bin
./helloFX
A window containing the text Hello, OpenJFX!
should appear on the screen.