MacOS bundles using jpackage

Abhinay Agarwal abhinay.agarwal at gluonhq.com
Mon Sep 22 07:25:48 UTC 2025


We create a DMG package for Scene Builder [1] using jpackage in JDK 25. 
After installing the app, we found that with the recent changes [2] introduced in jpackage, 
it no longer adds the default entitlements to the macOS builds. As a result, SceneBuilder.app crashes during startup. 
We even tried adding explicit entitlements using `--mac-entitlements`, but to no avail.

Furthermore, we discovered that the `--mac-package-signing-prefix` flag now requires the prefix to end with a `.`,
which wasn’t the case earlier.

- Abhinay

[1] https://github.com/gluonhq/scenebuilder
[2] https://bugs.openjdk.org/browse/JDK-8333664


More information about the core-libs-dev mailing list