<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
Hi Michael,<br>
<br>
See my comments inline.<br>
<br>
<div class="moz-cite-prefix">On 2/27/2025 11:11 AM, Michael Hall
wrote:<br>
</div>
<blockquote type="cite" cite="mid:3E3F5A19-7AD9-48AD-9D6C-86B03BB14479@gmail.com">
<br id="lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On Feb 26, 2025, at 9:22 PM, Michael Hall
<a class="moz-txt-link-rfc2396E" href="mailto:mik3hall@gmail.com"><mik3hall@gmail.com></a> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div>
<blockquote type="cite">
<div>
<div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div><br>
</div>
<div>I don’t get that if I delete the existing dmg
first.</div>
<div><br>
</div>
<div>Full verbose output at…</div>
<div><br>
</div>
<div><a href="http://mikehall.pairserver.com/rt.txt" moz-do-not-send="true" class="moz-txt-link-freetext">http://mikehall.pairserver.com/rt.txt</a></div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
</div>
<div>Is there a how-to on using --runtime-image on MacOS? How are
you supposed to get a valid runtime to put into
JavaVirtualMachines?</div>
<div><br>
</div>
<div>I installed jdk 23 to bootstrap a jdk build. I jpackage’d
that.</div>
<div><br>
</div>
<div>jpackage --verbose -n rt -t dmg --runtime-image
/Users/mjh/Documents/GitHub/jdk/build/macosx-aarch64-server-release/jdk</div>
</blockquote>
This command should produce a Java runtime in JavaVirtualMachines
subtree.<br>
<br>
<blockquote type="cite" cite="mid:3E3F5A19-7AD9-48AD-9D6C-86B03BB14479@gmail.com">
<div><br>
</div>
<div>The resulting jdk actually appears to have a similar
directory layout to what is in JavaVirtualMachines. </div>
<div><br>
</div>
<div>It lacks the _CodeSignature, Info.plist, and MacOS file and
directories.</div>
</blockquote>
This is intentional (not sure it is correct, though).<br>
<br>
<blockquote type="cite" cite="mid:3E3F5A19-7AD9-48AD-9D6C-86B03BB14479@gmail.com">
<div><br>
</div>
<div>It still is not found with either “java —version” or
“/usr/libexec/java_home”</div>
<div><br>
</div>
<div>I tried giving it a more standard name in case naming
convention mattered.</div>
</blockquote>
No, it doesn't. The name you tried should work.<br>
<br>
<blockquote type="cite" cite="mid:3E3F5A19-7AD9-48AD-9D6C-86B03BB14479@gmail.com">
<div><br>
</div>
<div>The built is jdk 25 and the 23 bootstrap still shows
current. </div>
<div><br>
</div>
<div>I thought maybe using that runtime to build an application
then jpackage would make it a valid MacOS runtime</div>
<div><br>
</div>
<div>But jpackage --runtime-image with the runtime from that gets
a couple no such file exceptions on</div>
<div>runtime/Contents/Home/lib/libnio.dylib.dSYM/Contents/Info.plist</div>
<div><br>
</div>
<div>The app gets</div>
<div>HalfPipe.app/Contents/MacOS/HalfPipe</div>
<div>Error: could not open
`/Users/mjh/HalfPipe/HalfPipe_jpkg/outputdir/HalfPipe.app/Contents/runtime/Contents/Home//lib/jvm.cfg’</div>
<div><br>
</div>
<div>Possibly not a bug but not obviously easy either. </div>
</blockquote>
<br>
Thank you for trying it out! I'll look closer at the issues you
reported and get back to you.<br>
<br>
- Alexey<br>
</body>
</html>