Skip to content

beryx-gist/badass-jlink-example-richtextfx

Repository files navigation

PRs Welcome License Build Status

Badass JLink Plugin Example: RichTextFX

A small JavaFX application using RichTextFX that shows how to use the Badass JLink Plugin. It creates a custom runtime image containing only the JDK and JavaFX modules required by the application. It also creates a platform-specific installer that associates files with the my-java extension with this application.

Take a look at build.gradle to see how to configure the plugin.

Usage

Running with gradle:

./gradlew run

A window containing Java source code with syntax highlighting should appear on the screen.

Creating and executing a custom runtime image:

./gradlew jlink
cd build/image/bin
./java-keywords

A window containing Java source code with syntax highlighting should appear on the screen.

Creating platform-specific application installers:

./gradlew jpackage

The platform-specific application installers will be available in the build/jpackage directory. The installers associate files with the extension .my-java with this application.

About

A RichTextFX project that shows how to use the Badass JLink Plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published