RFR: 8351369: [macos] Use --install-dir option with DMG packaging

Alexander Matveev almatvee at openjdk.org
Fri May 30 01:45:41 UTC 2025


On Wed, 28 May 2025 07:11:36 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:

> - `--install-dir` option in DMG packaging is no longer ignored.
> - Defaults are still the same: `/Applications` and `/Library/Java/JavaVirtualMachines`.
> - It will be user responsibility to make sure installation directory exist on target machine, since DMG cannot create directories during drag and drop.
> - Target directory in case of non-default installation dir will display full path. See image below for example.
> 
> ![Screenshot 2025-05-28 at 12 07 53 AM](https://github.com/user-attachments/assets/fbcba07b-74a5-4276-90c3-5f8d2d0dcc16)

8351369: [macos] Use --install-dir option with DMG packaging [v2]
 - Fixed is changed to use shell script to create links.
 - Previous fix is no longer relevant and was removed.
 - All code review comments before v2 is no longer relevant.

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

PR Comment: https://git.openjdk.org/jdk/pull/25481#issuecomment-2920995248


More information about the core-libs-dev mailing list