Fix typos in graalmv-m1-mac.md (#3253)

This commit is contained in:
Ilya Bogdanov 2022-02-09 11:30:41 +03:00 committed by GitHub
parent 8b24336604
commit 2ff919623a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,23 +32,23 @@ version and Java version. Currently, it would be version `21.1.0` with Java 11.
#### Install GraalVM
Go to [https://github.com/graalvm/graalvm-ce-builds]() and download the release
tarball. Unpack it and install into the system directory:
Go to [GraalVM CE releases](https://github.com/graalvm/graalvm-ce-builds) and
download the release tarball. Unpack it and install into the system directory:
```
$ tar xzf graalvm-ee-java11-darwin-amd64-21.1.0.tar.gz
$ sudo mv graalvm-ee-java11-21.1.0 /Library/Java/JavaVirtualMachines
$ tar xzf graalvm-ce-java11-darwin-amd64-21.1.0.tar.gz
$ sudo mv graalvm-ce-java11-21.1.0 /Library/Java/JavaVirtualMachines
```
If you use MacOS Catalina or later, you need to unquarantine it:
```
$ sudo xattr -r -d com.apple.quarantine /Library/Java/JavaVirtualMachines/ graalvm-ee-java11-21.1.0
$ sudo xattr -r -d com.apple.quarantine /Library/Java/JavaVirtualMachines/graalvm-ce-java11-21.1.0
```
#### (Optional) Add installed JVM to sdkman
```
$ sdk install java 21.1.0.r11-grl /Library/Java/JavaVirtualMachines/graalvm-ee-java11-21.1.0/Contents/Home
$ sdk install java 21.1.0.r11-grl /Library/Java/JavaVirtualMachines/graalvm-ce-java11-21.1.0/Contents/Home
$ sdk default java 21.1.0.r11-grl
```