From 206635de611d1ca87c1f891277848d6cc05aeb16 Mon Sep 17 00:00:00 2001 From: Mikayla Toffler Date: Mon, 28 Jul 2025 11:28:36 -0400 Subject: [PATCH 1/2] Improve macos install instructions --- BUILDING.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/BUILDING.md b/BUILDING.md index 2d7fc35ca39..f79633b1271 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -69,10 +69,16 @@ Download and install JDK versions 8, 11, 17, 21 and 24, and GraalVM 17 for your ```shell brew install --cask zulu@8 zulu@11 zulu@17 zulu@21 zulu graalvm/tap/graalvm-ce-java17 ``` -* Fix the GraalVM installation by [removing the quarantine flag](https://www.graalvm.org/latest/docs/getting-started/macos/): +* Identify your local version of graalvm: + ```shell + ls /Library/Java/JavaVirtualMachines | grep graalvm + ``` + Example: `graalvm-ce-java17-22.3.1` +* 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/): ``` sudo xattr -r -d com.apple.quarantine /Library/Java/JavaVirtualMachines/graalvm- ``` + Example: `/Library/Java/JavaVirtualMachines/graalvm-ce-java17-22.3.1` * 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. ```shell export JAVA_8_HOME=/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home From 4d3a0d78c65ed55dd545dc4bfb1966f3c8767ba9 Mon Sep 17 00:00:00 2001 From: Mikayla Toffler <46911781+mtoffl01@users.noreply.github.com> Date: Mon, 28 Jul 2025 11:32:50 -0400 Subject: [PATCH 2/2] nits/formatting --- BUILDING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index f79633b1271..13de4716240 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -69,8 +69,8 @@ Download and install JDK versions 8, 11, 17, 21 and 24, and GraalVM 17 for your ```shell brew install --cask zulu@8 zulu@11 zulu@17 zulu@21 zulu graalvm/tap/graalvm-ce-java17 ``` -* Identify your local version of graalvm: - ```shell +* Identify your local version of GraalVM: + ``` ls /Library/Java/JavaVirtualMachines | grep graalvm ``` Example: `graalvm-ce-java17-22.3.1`