https://github.com/rcuprak/javafx-skeleton
Skeleton JavaFX Application
https://github.com/rcuprak/javafx-skeleton
javafx javafx-desktop-apps jreleaser
Last synced: 3 months ago
JSON representation
Skeleton JavaFX Application
- Host: GitHub
- URL: https://github.com/rcuprak/javafx-skeleton
- Owner: rcuprak
- License: apache-2.0
- Created: 2023-06-17T02:55:12.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-02T23:20:11.000Z (4 months ago)
- Last Synced: 2025-02-03T00:23:49.767Z (4 months ago)
- Topics: javafx, javafx-desktop-apps, jreleaser
- Language: Java
- Homepage:
- Size: 817 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# javafx-skeleton 
This is an example project demonstrating how to easily build, bundle and distribute a [JavaFX](https://openjfx.io) 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
```
2. Build for Mac
```
./mvnw -Posx_arm./mvnw -Posx_intel
```
3. Build for Linux (rpm/deb)```
./mvnw -Plinux_intel_deb./mvnw -Plinux_intel_rpm
```4. Build for Windows
```
./mvnw -Pwindows
```To build rpm, you will need to install rpm-build:
yum install-rpm-buildAssembled distributions located at: `target/jreleaser/assemble/`.