Skip to content

Commit 807f207

Browse files
authored
Specify how to get graalvm version on macos in setup instructions (#9258)
* Improve macos install instructions * nits/formatting
1 parent 938e591 commit 807f207

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

BUILDING.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,16 @@ Download and install JDK versions 8, 11, 17, 21 and 24, and GraalVM 17 for your
6969
```shell
7070
brew install --cask zulu@8 zulu@11 zulu@17 zulu@21 zulu graalvm/tap/graalvm-ce-java17
7171
```
72-
* Fix the GraalVM installation by [removing the quarantine flag](https://www.graalvm.org/latest/docs/getting-started/macos/):
72+
* Identify your local version of GraalVM:
73+
```
74+
ls /Library/Java/JavaVirtualMachines | grep graalvm
75+
```
76+
Example: `graalvm-ce-java17-22.3.1`
77+
* Use this version in the following command to fix the GraalVM installation by [removing the quarantine flag](https://www.graalvm.org/latest/docs/getting-started/macos/):
7378
```
7479
sudo xattr -r -d com.apple.quarantine /Library/Java/JavaVirtualMachines/graalvm-<current version of graalvm>
7580
```
81+
Example: `/Library/Java/JavaVirtualMachines/graalvm-ce-java17-22.3.1`
7682
* Add the required environment variables to your shell using the `export` command. You can permanently install the environment variables by appending the `export` commands into your shell configuration file `~/.zshrc` or `.bashrc` or other.
7783
```shell
7884
export JAVA_8_HOME=/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home

0 commit comments

Comments
 (0)