Skip to content

Commit 18f0c80

Browse files
authored
docs: clarify the JDK update steps on MacOS (facebook#4205)
1 parent 7a90bb5 commit 18f0c80

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

docs/_getting-started-macos-android.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,22 @@ We recommend installing the OpenJDK distribution called Azul **Zulu** using [Hom
2424
```shell
2525
brew install --cask zulu@17
2626

27-
# Get path to where cask was installed to double-click installer
27+
# Get path to where cask was installed to find the JDK installer
2828
brew info --cask zulu@17
29+
30+
# ==> zulu@17: <version number>
31+
# https://www.azul.com/downloads/
32+
# Installed
33+
# /opt/homebrew/Caskroom/zulu@17/<version number> (185.8MB) (note that the path is /usr/local/Caskroom on non-Apple Silicon Macs)
34+
# Installed using the formulae.brew.sh API on 2024-06-06 at 10:00:00
35+
36+
# Navigate to the folder
37+
finder /opt/homebrew/Caskroom/zulu@17/<version number> # or /usr/local/Caskroom/zulu@17/<version number>
2938
```
3039

31-
After the JDK installation, add or update your `JAVA_HOME` environment variable in `~/.zshrc` (or in `~/.bash_profile`) .
40+
After opening Finder, double click the `Double-Click to Install Azul Zulu JDK 17.pkg` package to install the JDK.
41+
42+
After the JDK installation, add or update your `JAVA_HOME` environment variable in `~/.zshrc` (or in `~/.bash_profile`).
3243

3344
If you used above steps, JDK will likely be located at `/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home`:
3445

0 commit comments

Comments
 (0)