<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">I noticed a pointer to jextract doc in the Java Newsletter that began with a typical way to run showing a normal command invocation.<div><br></div><div>jextract \</div><div>…</div><div><br></div><div>On MacOS</div><div><br></div><div><div>jextract --help</div><div>zsh: command not found: jextract</div><div>(base) mjh@MacBook-Pro-2 weka % /usr/libexec/java_home --exec jextract</div><div>WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.jextract</div><div>Expected a header file</div><div>(base) mjh@MacBook-Pro-2 weka % /usr/libexec/java_home --exec jextract --help</div><div>WARNING: Using incubator modules: jdk.incubator.jextract, jdk.incubator.foreign</div><div>Non-option arguments: </div><div>[String] -- header file</div><div><br></div><div>Option Description </div><div>------ ----------- </div><div>-?, -h, --help print help </div></div><div>...</div><div><br></div><div>The command is default not there on MacOS (M3 Sonoma 14.5)</div><div><br></div><div>I think this has been discussed before and java has no way to provide these default invocations for new commands on MacOS? </div><div>Is that still correct with no way planned to ever include new commands?</div><div><br></div><div><div>Also I might be mistaken but I thought FFM and related were out of incubator at 22? </div></div><div><br></div><div>I thought possibly /usr/libexec/java_home was in this case for some reason not defaulting to the latest installed jdk (<font face="Menlo"><span style="font-size: 11px;">openjdk 22.0.1 2024-04-16)</span></font></div><div>But </div><div>/usr/libexec/java_home --version 22 --exec jextract —help</div><div>Gets the same</div><div><br></div><div>It also seems jextract has no option to indicate the current installed version?</div><div><br></div><div><br></div><div><br></div></body></html>