Last active
July 13, 2020 18:15
-
-
Save jkeam/075cc9492f2c70c800e27e84bf9ade6d to your computer and use it in GitHub Desktop.
Install GraalVM on a Mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# install | |
brew cask install graalvm/tap/graalvm-ce-java11 | |
# update | |
# brew cask upgrade graalvm/tap/graalvm-ce-java11 | |
# update JAVA_HOME | |
export JAVA_HOME=/Library/Java/JavaVirtualMachines/graalvm-ce-java11-20.1.0/Contents/Home | |
export GRAALVM_HOME=/Library/Java/JavaVirtualMachines/graalvm-ce-java11-20.1.0/Contents/Home | |
# also make sure to supress the constant popup warning about an untrusted developer | |
sudo xattr -r -d com.apple.quarantine /Library/Java/JavaVirtualMachines/graalvm-ce-java11-20.1.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment