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

Michael Hall mik3hall at gmail.com
Thu Feb 27 20:36:28 UTC 2025



> On Feb 27, 2025, at 11:47 AM, Michael Hall <mik3hall at gmail.com> wrote:
> 
> Now, mostly about how the JavaVirtualMachines MacOS specific JRE’s might be built.

Copied the MacOS directory and Info.plist file from another JavaVirtualMachines bundle. 

Updated the Info.plist version settings from the prior version to jdk 25.

java -version
openjdk version "25-internal" 2025-09-16
OpenJDK Runtime Environment (build 25-internal-adhoc.mjh.jdk)
OpenJDK 64-Bit Server VM (build 25-internal-adhoc.mjh.jdk, mixed mode)

So the above mystery is solved. Those files are sufficient for a Mac JavaVirtualMachines ready JRE. 
The version settings in the Info.plist must determine how it selects the latest and greatest.

There is no _CodeSignature file. I’m not sure what that might impact. A codesign command could probably be figured out.

So, there are really no jpackage concerns.

For an assist on --runtime-image for JavaVirtualMachines ready copies an enhancement could be provide these files and maybe do the codesign, if the provided runtime seems to need them.

Thanks again.

Mike
  

  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20250227/5a615180/attachment-0001.htm>


More information about the core-libs-dev mailing list