Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mention how to apply xattr to downloaded GraalVM

See original GitHub issue

Normally I set GRAALVM_HOME to my downloaded GraalVM installation which currently looks like: /Users/borkdude/Downloads/graalvm-ce-java11-21.2.0/Contents/Home. Since Big Sur I need to apply sudo xattr -r -d to the GraalVM installation to remove the quarantine attribute. But this does not work when you pass include Contents/Home: pass the part without it, like:

sudo xattr -r -d $GRAALVM_HOME/../..


sudo xattr -r -d /Users/borkdude/Downloads/graalvm-ce-java11-21.2.0/Contents/Home

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

borkdudecommented, Aug 29, 2021

Actually the above is wrong, you should (according to a GraalVM slack user):

xattr -c download.file.tar.gz"

and then extract the file.

sogaiucommented, Aug 29, 2021

Nice find!

Read more comments on GitHub >

github_iconTop Results From Across the Web

"graalvm-ce-java11-21.1.0" is damaged and can't be ... - GitHub
I have just downloaded and manually install GraalVM on MacOS Catalina as ... sudo xattr -r -d path to graalvm folder ...
Read more >
Building a Native Executable - Quarkus
Use the following command to recursively delete the extended attribute on the GraalVM install directory as a workaround: xattr -r -d com ......
Read more >
Installation on macOS Platforms - GraalVM
Follow these steps to install GraalVM Community on the macOS operating system: Navigate to GraalVM Releases repository on GitHub. Select Java 11 based...
Read more >
Download the desired version. 21.3 JDK17 · 22.3 JDK19. Go to the downloads folder: cd Downloads/. Extract tar file with: tar -xzvf ...
Read more >
Getting GraalVM up and Running on a Mac - Beyond Java
Download the GraalVM package bearing "Darwin" in its name. Unpack it and copy the folder to /Library/Java/JavaVirtualMachines/ .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found