MacOS
Michael Hall
mik3hall at gmail.com
Thu May 30 18:50:12 UTC 2024
I noticed a pointer to jextract doc in the Java Newsletter that began with a typical way to run showing a normal command invocation.
jextract \
…
On MacOS
jextract --help
zsh: command not found: jextract
(base) mjh at MacBook-Pro-2 weka % /usr/libexec/java_home --exec jextract
WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.jextract
Expected a header file
(base) mjh at MacBook-Pro-2 weka % /usr/libexec/java_home --exec jextract --help
WARNING: Using incubator modules: jdk.incubator.jextract, jdk.incubator.foreign
Non-option arguments:
[String] -- header file
Option Description
------ -----------
-?, -h, --help print help
...
The command is default not there on MacOS (M3 Sonoma 14.5)
I think this has been discussed before and java has no way to provide these default invocations for new commands on MacOS?
Is that still correct with no way planned to ever include new commands?
Also I might be mistaken but I thought FFM and related were out of incubator at 22?
I thought possibly /usr/libexec/java_home was in this case for some reason not defaulting to the latest installed jdk (openjdk 22.0.1 2024-04-16)
But
/usr/libexec/java_home --version 22 --exec jextract —help
Gets the same
It also seems jextract has no option to indicate the current installed version?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jextract-dev/attachments/20240530/a119a0cb/attachment.htm>
More information about the jextract-dev
mailing list