Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.04 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.04 KB

javafx-skeleton Building

This is an example project demonstrating how to easily build, bundle and distribute a JavaFX desktop application. The output of this project are native installers which install the application the requisite pieces of the JDK.

This example project produces the following bundles:

  • Windows (x86_64)
  • Linux (x86_64)
  • MacOS X (x86_64)
  • MacOS X (Apple Silicon)

Building

Requirements

  • Java 23+ with JavaFX, this project is built and tested with Azul's Java distribution with JavaFX.
  • Maven 3.9.0 (use the provided wrapper)
  1. Build the application
./mvnw verify
  1. Build for Mac
./mvnw -Posx_arm 

./mvnw -Posx_intel
  1. Build for Linux (rpm/deb)
./mvnw -Plinux_intel_deb

./mvnw -Plinux_intel_rpm
  1. Build for Windows
./mvnw -Pwindows

To build rpm, you will need to install rpm-build: yum install-rpm-build

Assembled distributions located at: target/jreleaser/assemble/.