Fork me on GitHub
#graalvm
<
2021-08-28
>
borkdude14:08:56

I just upgraded to Big Sur and when using GraalVM native image, macOS complains about: “graalvm-ce-java11-21.2.0” is damaged and can’t be opened. You should move it to the Trash. Even after: sudo xattr -r -d com.apple.quarantine $GRAALVM_HOME

borkdude14:08:27

To make sure, I re-downloaded it, but no difference

West14:08:05

I just had this problem. I had to reinstall it, then do the command you’re showing, then run.

West14:08:28

It’s finnicky as hell ain’t it.

borkdude14:08:02

what is "install", I don't install anything, I just download the tar archive and extract it

borkdude14:08:09

and then run GRAALVM_HOME/bin/java

borkdude14:08:20

this is how I've always used graalvm

West14:08:34

I see. I meant install it through homebrew. I had to reinstall that way. What I meant is, you have to run the xattr -r -d com.apple.quarantine $GRAALVM_HOME before you run it for the first time.

borkdude14:08:55

yeah, did it. I'll just try again

borkdude15:08:44

Interestingly it works when I download graalvm using curl

borkdude15:08:33

so probably I'll just have to stop using chrome to download this

lread15:08:13

weird! so chrome was corrupting your tar download?

borkdude15:08:50

not sure but I think it has to do with macOS Big Sur

borkdude15:08:29

the tar itzelf extracted fine

borkdude15:08:34

no sign of corruption

borkdude15:08:03

Ah! Fabio Niephaus: I know for sure that Contents/Home doesn't work for some reason  Michiel Borkent : Confirming that `sudo xattr -r -d com.apple.quarantine $GRAALVM_HOME/../..`works!

👍 2
borkdude15:08:11

(from the graalvm slack)

borkdude15:08:19

I think this is worth documenting in the clj-graal-docs