Hi all,
Matthias, thanks for pointing me at that GitHub (formerly Jira) issue.
I've just learned there that it matters how you got the library - a
browser download typically *sets* the com.apple.quarantine attribute,
but a download with cURL or similar tools doesn't.
I guess that makes the impact significantly less, as I expect many
(although not all) macOS users will use a package manager like SDKMAN!
or Homebrew.
With that in mind, I side with Tamás, who wrote in that issue
I think rather Mac users should be aware of their OS workings.
Today, at least I learned something about the workings of my OS :-). And
we can probably omit the note about de-quarantining, especially if not
everyone can do that due to whatever company policy.
Thanks,
Maarten
On November 8, 2025 at 13:06, Matthias Bünger wrote:
Hi Maarten,
according your MacOS problem:
I remember we had a quite new issue about this, where (I think it was)
Benjamin also mentioned your sudo command, but which also requires
rights not everybody may have in every environment (company restrictions
might take place) and discussion took place if/why we need the lib at
all. I don't find the issue anymore :( But I found an older which also
mentioned the issue (but not the workaround): https://github.com/apache/
maven/issues/10747
@all
If someone can remember the issue and/or tell me why we need this
library, I'm happy to add a note to the install page.
Greetings
Matthias
1. I noticed that upon first start, macOS will give a popup saying it
refuses to load libjlinenative.jnilib. In the terminal, I see this
message:
WARNING: Failed to load native library:libjlinenative.jnilib. osinfo:
Mac/arm64 (caused by: java.lang.UnsatisfiedLinkError: /Users/maarten/
Tools/apache-maven-4.0.0-rc-5/lib/jline-native/Mac/arm64/
libjlinenative.jnilib: dlopen(/Users/maarten/Tools/apache-
maven-4.0.0-rc-5/lib/jline-native/Mac/arm64/libjlinenative.jnilib,
0x0001): tried: '/Users/maarten/Tools/apache-maven-4.0.0-rc-5/lib/
jline-native/Mac/arm64/libjlinenative.jnilib' (code signature in
<E83722FF-713D-3654-A603-EEBC715887FE> '/Users/maarten/Tools/apache-
maven-4.0.0-rc-5/lib/jline-native/Mac/arm64/libjlinenative.jnilib'
not valid for use in process: library load disallowed by system
policy), '/System/Volumes/Preboot/Cryptexes/OS/Users/maarten/Tools/
apache-maven-4.0.0-rc-5/lib/jline-native/Mac/arm64/
libjlinenative.jnilib' (no such file), '/Users/maarten/Tools/apache-
maven-4.0.0-rc-5/lib/jline-native/Mac/arm64/libjlinenative.jnilib'
(code signature in <E83722FF-713D-3654-A603-EEBC715887FE> '/Users/
maarten/Tools/apache-maven-4.0.0-rc-5/lib/jline-native/Mac/arm64/
libjlinenative.jnilib' not valid for use in process: library load
disallowed by system policy), enable debug logging for stacktrace)
It can be solved by running
sudo xattr -r -d com.apple.quarantine /path/to/libjlinenative.jnilib
I think we should have mention in our release documentation and in [1].
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]