RFR: 8350594: Misleading warning about install dir for DMG packaging

Alexey Semenyuk asemenyuk at openjdk.org
Tue Feb 25 21:02:55 UTC 2025


On Tue, 25 Feb 2025 20:50:46 GMT, Michael Hall <mik3hall at gmail.com> wrote:

> It always packages a runtime for mine

Right. When jpackage is used to bundle an app (which is the most common use case) it automatically adds Java runtime to the app image.

However, jpackage can be used to bundle standalone Java runtime without an app. For these bundles, the default installation location is in `/Library/Java/JavaVirtualMachines` subtree, not in `/Applications`. All bundle formats (pkg, dmg, exe, msi, rpm, deb) supported for app bundles are also supported for runtime bundles.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/23752#issuecomment-2683282035


More information about the core-libs-dev mailing list