AdamCarroll / jdk14-jpackage-mac

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jdk14-jpackage-mac

Description

A small, simple test for running the jpackage tool on a minimal JavaFX application on the Mac.

This project was created to investigate a problem in creating signed builds on the Mac environment with JDK 14.

Instructions For Use

Build the project with JDK 14 as follows:

$ ./gradlew clean build

To create a signed .dmg bundle, run the following:

$ bin/create-signed-dmg.sh

The resulting .dmg file should be created in the directory build/bundle/.

Alternatively, you can create an unsigned bundle as follows:

$ bin/create-unsigned-dmg.sh

Notes

This repository was created to help in reporting a problem creating signed packages on the Mac. The problem was reported:

Update (20 March 2021)

JDK 16 has now been released. In this release jpackage has been promoted from "incubating" to "production-ready". I've just tested this using v16+36 from AdoptOpenJDK and everything now works and the signed build can be created without any problems.

Update (12 July 2021)

I was able to create the installable bundle for VocabHunter with jpackage from JDK 16. I've written up the details in the article Installable Java Apps with jpackage.

About


Languages

Language:Java 54.0%Language:Shell 46.0%