<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Sep 27, 2022, at 2:48 PM, Alexander Matveev <<a href="mailto:alexander.matveev@oracle.com" class="">alexander.matveev@oracle.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Michael,
<div class=""><br class="">
</div>
<div class="">It is not possible to provide a unique or hashed CFBundleIdentifier. We already implemented to throw error if —strip-native-commands are not provided to jlink or if provided runtime contain bin directory.</div>
<div class="">Look at <a href="https://github.com/openjdk/jdk/pull/8666" class="">https://github.com/openjdk/jdk/pull/8666</a></div>
<div class=""><br class="">
</div>
<div class="">Thanks,</div>
<div class="">Alexander<br class="">
<div class=""><br class="">
</div></div></div></div></blockquote><br class=""></div><div>Alexander </div><div>I assume you do this only if --mac-app-store is indicated? I have an application, not for the App Store, that excludes —strip-native-commands jlink parm and as I mentioned I get all of the native commands. I don’t pay much attention to the messages because it has been working fine for some time, but I don’t think any exceptions are thrown.</div><div>My suggestion is that even doing this and not including —mac-app-store should get a warning it won’t work for App Store so that if a developer is working on an application with native commands and only when complete tries adding the —mac-app-store parameter they would know immediately and not after considerable effort that there is a problem.</div><div><br class=""></div><div>Thanks</div><div>Mike</div><div class=""><br class=""></div>From the java shell app with embedded commands…<div class=""><br class=""><div class="">set java.home<br class="">java.home=/Users/mjh/HalfPipe/HalfPipe_jpkg/outputdir/HalfPipe.app/Contents/runtime/Contents/Home<br class="">exec ${java.home}/bin/java -version<br class="">openjdk version "19" 2022-09-20<br class="">OpenJDK Runtime Environment (build 19+36-2238)<br class="">OpenJDK 64-Bit Server VM (build 19+36-2238, mixed mode)</div></div></body></html>