You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/setup/macos.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,23 +44,23 @@ To install a **JDK** (using the prebuilt OpenJDK binaries from [Adoptium](https:
44
44
45
45
```cli
46
46
brew tap homebrew/cask-versions
47
-
brew install --cask temurin11
47
+
brew install --cask temurin@17
48
48
```
49
49
50
50
Once installed, open a new Terminal and verify that the default version is the one we installed:
51
51
52
52
```cli
53
53
javac --version
54
54
# should print something like:
55
-
# javac 11.x.x
55
+
# javac 17.x.x
56
56
```
57
57
58
58
If the version looks correct, you are ready to move on to [Installing Android Studio](#installing-android-studio), otherwise you will need to set the `JAVA_HOME` environment variable.
59
59
60
-
Add the following lines to your shell profile, usually `~/.bash_profile` or `~/.bashrc`, or if you are using `zsh` then `~/.zprofile` or `~/.zshrc` config file:
60
+
Add the following lines to your shell profile, usually `~/.zshrc`, `~/.bash_profile` or `~/.bashrc` or `~/.zprofile` config file:
0 commit comments