RFR: 8350594: Misleading warning about install dir for DMG packaging
Michael Hall
mik3hall at gmail.com
Tue Feb 25 20:48:46 UTC 2025
> On Feb 25, 2025, at 1:41 PM, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:
>
> On Tue, 25 Feb 2025 19:24:46 GMT, Michael Hall <mik3hall at gmail.com> wrote:
>
>> Again I?ve been assuming type dmg builds.
>
> Me too. jpackage can package Java runtime in a dmg.
>
> -------------
>
> PR Comment: https://git.openjdk.org/jdk/pull/23752#issuecomment-2683097211
I might be getting confused. It always packages a runtime for mine. Either a default one that is jlink'ed or you can provide one.
e.g.
ls ~/Documents/Election\ Games/eg_jpkg/outputdir/Election\ Games.app/Contents/runtime/Contents/Home
conf legal lib release
My memory is more questionable these days but for me, I think for Oracle you download a compressed runtime you decompress and manually add to /Library/Java/JavaVirtualMachines.Maybe that’s a dmg, I haven’t done one for a bit. Possibly if someone without their own runtime uses jpackage you download one for them and put it in JavaVirttualMachines? But I still assume you never indicate this as any kind of destination for any jpackage usage do you? It is never a install directory you are expected to know? Or that a dmg indicates as a target destination.
More information about the core-libs-dev
mailing list