From da1b21264caf8fd42a1a809c538e2128435160f9 Mon Sep 17 00:00:00 2001 From: sowgro Date: Sun, 22 Sep 2024 00:44:03 -0400 Subject: Update README with build prereqs --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 4f966c7..abbc3c2 100755 --- a/README.md +++ b/README.md @@ -31,6 +31,26 @@ Execute the maven goal javafx:run - linux: `./mvnw javafx:run` ### Create an installer for your OS +Prerequisites: + +Ensure that all the following packages are installed and the correct version + +- java version >= 22 +- jmod >= 22 +- jlink version >= 22 +- jpackage version >= 22 + +note: check the version of these with ` --version` + +You will also need OS specific jpackage prereqs to create the executable + +- RPM, DEB on Linux: On Red Hat Linux, we need the rpm-build package; on Ubuntu Linux, we need the fakeroot package +- PKG, DMG on macOS: Xcode command line tools are required when the –mac-sign option is used to request that the package be signed, and when the –icon option is used to customize the DMG image +- EXE, MSI on Windows: On Windows, we need the third party tool WiX 3.0 or later + +[source](https://www.baeldung.com/java14-jpackage#packaging-prerequisite) + + Execute the maven package phase - windows: `mvnw.cmd package` - linux: `./mvnw package` -- cgit v1.2.3