Home

Awesome

PRs Welcome License Build Status

Badass JLink Plugin Example: JavaFX multi-project

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:

Usage

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.

Creating an installable package:

./gradlew jpackage

The above command will generate the platform-specific installers in the gui/build/jpackage directory.

:bulb: You can check the artifacts produced by the GitHub actions used to build this project and download an application package for your platform (such as from here).