Skip to content
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

“graalvm-ce-19.2.0.1” can’t be opened because its integrity cannot be verified. #6

Closed
ampersanda opened this issue Oct 3, 2019 · 6 comments

Comments

@ampersanda
Copy link

It seems that on MacOS Catalina, latest version of it can't be executed properly.

Screen Shot 2019-10-03 at 12 43 16

I tried fresh install and set $GRAALVM_HOME to install native-image and this happens

Screen Shot 2019-10-03 at 12 38 15
Screen Shot 2019-10-03 at 12 38 17

Thanks

@ampersanda
Copy link
Author

temporarily I disable to achieve this fix, by using command

sudo spctl --master-disable

@fniephaus
Copy link
Member

xattr -d com.apple.quarantine $GRAALVM_HOME should be enough, no need to disable Gatekeeper entirely.

@richmidwinter
Copy link

richmidwinter commented Dec 20, 2019

That env variable wasn't set for me, and it wasn't the Contents/Home dir (first guess), but this worked:

xattr -d com.apple.quarantine /Library/Java/JavaVirtualMachines/graalvm-ce-java11-19.3.0

@yos1p
Copy link

yos1p commented Dec 24, 2019

Apparently, it's not working for me.... Any other solution perhaps?

I tried:
xattr -d com.apple.quarantine /Library/GraalVM

Which is the location of the GraalVM.

Result:
xattr: /Users/yosi/GraalVM: No such xattr: com.apple.quarantine

@fniephaus
Copy link
Member

@iamyaoxi what happens when you try to open your GraalVM's bin/java? Do you see a warning? What happens if you run the command afterwards?

@dmgorsky
Copy link

Apparently, it's not working for me.... Any other solution perhaps?

I tried:
xattr -d com.apple.quarantine /Library/GraalVM

Which is the location of the GraalVM.

Result:
xattr: /Users/yosi/GraalVM: No such xattr: com.apple.quarantine

xattr -d com.apple.quarantine /Library/Java/JavaVirtualMachines/graalvm-ce*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants