Code Monkey home page Code Monkey logo

Comments (10)

karianna avatar karianna commented on July 23, 2024 5

A workaround is to use:

sudo xattr -dr com.apple.quarantine jdk-11.0.10+9/

from openjdk.

junyuanz1 avatar junyuanz1 commented on July 23, 2024 4

we have a fix ready:

image

it will be in our next release.

thanks for reporting this issue!

/CC @brunoborges

from openjdk.

sunnychanwork avatar sunnychanwork commented on July 23, 2024 1

I can confirm @karianna workaround works for me.

from openjdk.

sunnychanwork avatar sunnychanwork commented on July 23, 2024 1

I think if there is no way round the "dialogue" then I think we need to document this. The error sounds a bit concerning for people who is new.

from openjdk.

junyuanz1 avatar junyuanz1 commented on July 23, 2024 1

one thing we noticed is the Azul's macOS tar.gz file does not have this problem. we will look into this and see how we can fix this problem. we will keep you updated!

from openjdk.

brunoborges avatar brunoborges commented on July 23, 2024

@gdams can you please take a look?

from openjdk.

gdams avatar gdams commented on July 23, 2024

those steps work for me:

➜  tmp tar -xzf microsoft-jdk-11.0.10.9-macos-x64.tar.gz
➜  tmp sha256sum microsoft-jdk-11.0.10.9-macos-x64.tar.gz
2e97bd29ca204d7bbaf26b8c648b1d529a0339e396b1f27a71281d05fb75ab3c  microsoft-jdk-11.0.10.9-macos-x64.tar.gz
➜  tmp jdk-11.0.10+9/Contents/Home/bin/java -version
openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment Microsoft-18724 (build 11.0.10+9)
OpenJDK 64-Bit Server VM Microsoft-18724 (build 11.0.10+9, mixed mode)

The bundle is signed:

➜  tmp codesign -dvvv jdk-11.0.10+9 
Executable=/Users/gadams/tmp/jdk-11.0.10+9/Contents/MacOS/libjli.dylib
Identifier=libjli-5555494483682c6b64a23333a53e7c7c6b3c77fb
Format=bundle with Mach-O thin (x86_64)
CodeDirectory v=20500 size=827 flags=0x10000(runtime) hashes=16+5 location=embedded
Hash type=sha256 size=32
CandidateCDHash sha1=3c96432859f61dad001940f4bc2788bba84253f0
CandidateCDHashFull sha1=3c96432859f61dad001940f4bc2788bba84253f0
CandidateCDHash sha256=d18ba4f3b9a9a98d5e7c1e73638e4718aa4fb1cb
CandidateCDHashFull sha256=d18ba4f3b9a9a98d5e7c1e73638e4718aa4fb1cbc34b0c499a102a071cba2d20
Hash choices=sha1,sha256
CMSDigest=fa2ebd665b104a7b809da4055b8e684c436c398f75c4c36194e6a6af759cb9ee
CMSDigestType=2
CDHash=d18ba4f3b9a9a98d5e7c1e73638e4718aa4fb1cb
Signature size=9061
Authority=Developer ID Application: Microsoft Corporation (UBF8T346G9)
Authority=Developer ID Certification Authority
Authority=Apple Root CA
Timestamp=22 Jan 2021 at 19:24:07
Info.plist=not bound
TeamIdentifier=UBF8T346G9
Runtime Version=10.13.0
Sealed Resources=none
Internal requirements count=1 size=208

from openjdk.

karianna avatar karianna commented on July 23, 2024

I can reproduce the breaking steps on my Mac OS X Big Sur 11.2.3.

@gdams I see you're prefixing with tmp - FYI I'm running directly out of my ~/Downloads directory using iTerm2 and zsh as the shell.

I can confirm that the jdk-11.0.10+9/ directory is quarantined

xattr jdk-11.0.10+9/
com.apple.quarantine

from openjdk.

junyuanz1 avatar junyuanz1 commented on July 23, 2024

Hi @sunnychanwork , so I take a look at this issue it seems tar.gz files produced by adopt & corretto have the same problem.

image

based on my understanding, the com.apple.quarantine is added by macOS system automatically for all downloaded files.

from openjdk.

karianna avatar karianna commented on July 23, 2024

Released as part of April PSU - see https://www.microsoft.com/openjdk

from openjdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.