-
-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native Libraries cannot be loaded with 11.0.4 on Mojave #1211
Comments
Tested on Ubuntu, and both version work as expected... This seems to be just an OS X issue |
I am also experiencing the same issue on macos with |
@gdams likely related to the other issues you're working on... |
@taubeklavs we have a fix in place for this and are in the process of creating a |
Awesome thanks! 😎👍 Not sure how I missed #1206 Sorry about that 😞 |
Doesn't look like that build is out yet and issue was blocking something I'm working on -- for anyone else in the same boat, you should be able to:
to get the
Once the new build is published, simple |
Save erroneous behavior occurs with
I just downloaded Any hope to get a fixed build? |
Hi, can confirm this also on the version 12. |
Just checked the latest 11.0.5
And this all works on OS X 😎 🎉 Closing this Thanks all! |
I have this problem with 14.0.1 and 11.0.7 on Catalina |
@MRigal How did you install the binary - was it a PKG file via homebrew? |
Both versions installed via homebrew. I also added the recommended symlinks
after the installation.
`brew install java` and `brew install java11`
|
I'm still having this issue with adoptopenjdk12 and osx catalina os: mac osx catalina 10.15.4
brew installed the jdk under
sbt installed via:
Some people suggested that this is an issue with gatekeeper from osx but if I globally disable the gatekeeper the issue persists:
Checking the item shows that it is indeed not signed
Checking the
This is apparently the default on initialisation of new xcode projects and has not been changed?! |
@peter-gerhard There's no hardened runtime and notarization support on OpenJDK 12 and there won't be because it has reached its EOL. |
Furthermore, I'm closing this issue because 11.0.7's PKG is fully notarized. |
@aahlenst I found out the /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Info.plist does not have the bundle signature.
Which version is currently code signed as I tried 11 and 12 version already |
8u252.1, 11.0.7 and 14 are notarized. You need the PKG, however. |
@aahlenst FYI this was not fixed in 11.0.7 nor in 11.0.8, but it is indeed fixed in 11.0.9 |
If anyone got to this thread due while trying to compile a KMM project, I was able to fix it by upgrading gradle version to 7.0.0-alpha09. |
getting same issue on building apk with flutter 2.5.3. |
Platform:
OSX Mojave
Darwin Kernel Version 18.7.0: Thu Jun 20 18:42:21 PDT 2019; root:xnu-4903.270.47~4/RELEASE_X86_64
Architecture:
x86_64
Issue description
When attempting to load native libraries on the above platform with any of the 11.0.4 builds, I get an exception:
When running with 11.0.3, everything works as expected.
Reproducible test
There is a java app over here: https://bintray.com/beta/#/adammurdoch/maven/net.rubygrapefruit:native-platform-test/0.18?tab=files which tests various native calls.
If you download the zip, and unpack it, I get the following results:
11.0.3 (Good)
11.0.4 (Bad)
I suspect this is an OS X only thing, but I'm testing it on ubuntu to make sure
The text was updated successfully, but these errors were encountered: