dev-resources.site
for different kinds of informations.
Install GraalVM on macOS M1
Published at
3/31/2022
Categories
graalvm
macos
applesilicon
Author
Maksim
We can download required version of GraalVM using curl
curl --create-dirs --output-dir ~/Library/Java/JavaVirtualMachines -OL https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.0.0.2/graalvm-ce-java17-darwin-amd64-22.0.0.2.tar.gz
This command will download graalvm-ce-java17-darwin-adm64-22.0.0.2.tar.gz to ~/Library/Java/JavaVirtualMachines. Now we should extract archive’s content by tar
tar xvzf graalvm-ce-java17-darwin-amd64-22.0.0.2.tar.gz
Now we can add GRAALVM_HOME environment variables to .bashrc or .zshrc
export GRAALVM_HOME ="$HOME/Library/Java/JavaVirtualMachines/graalvm-ce-java17-22.0.0.2/Contents/Home"
also, we can add GraalVM bin folder to the PATH . This allows us to easily access executable commands from shell
export PATH="$GRAALVM_HOME/bin:$PATH"
Now we can easily install native-image using gu command
gu install native-image
Articles
12 articles in total
JavaScript in IDE scripting console
read article
Note: Setup Prometheus playground
read article
A one story about problem with partitioned table in PostgreSQL
read article
Switch Node.js app to debug mode without restart
read article
VS Code: Debug node.js app in Kubernetes
read article
Compile Clojure to native binary using GraalVM
read article
Install GraalVM on macOS M1
currently reading
Setup shadow-cljs react project
read article
Visual unit tests
read article
Unit testing JavaScript with Karma. Playwright & Puppeteer
read article
Unit testing JavaScript with Karma in 2021. Starting point
read article
Handling events in React
read article
Featured ones: