Skip to content
A small JavaFX application that shows how to use the Badass Runtime Plugin
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper
src/main/java/org/example/hellofx
.gitattributes
.gitignore
.travis.yml
LICENSE
README.md
build.gradle
gradlew
gradlew.bat
settings.gradle

README.md

PRs Welcome License Build Status

Badass Runtime Plugin Example: JavaFX Application

A small JavaFX 11 non-modular application that shows how to use the Badass Runtime Plugin.

It allows you create custom runtime image of your application and a platform-specific installer for it.

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 runtime
cd build/image/bin
./hellofx

A window containing the text Hello, OpenJFX! should appear on the screen.

Creating a platform-specific installer:

./gradlew jpackage

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

You can’t perform that action at this time.