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,27 +44,27 @@ To install **Node** we recommend using a node version manager, such as [nvm](htt
44
44
To install a **JDK** (using the prebuilt OpenJDK binaries from [Adoptium](https://adoptium.net/)) run the following command:
45
45
46
46
```bash
47
-
brew install --cask temurin@17
47
+
brew install --cask temurin@21
48
48
```
49
49
50
50
:::warning Note
51
-
Using JDK 17 is highly recommended as the nativescript-bundled version of gradle is compatible. Using a newer version of the JDK may cause issues with your android build process.
51
+
Using JDK 21 is highly recommended as the nativescript-bundled version of gradle is compatible. Using a newer version of the JDK may cause issues with your android build process.
52
52
:::
53
53
54
54
Once installed, open a new Terminal and verify that the default version is the one we installed:
55
55
56
56
```bash
57
57
javac --version
58
58
# should print something like:
59
-
# javac 17.x.x
59
+
# javac 21.x.x
60
60
```
61
61
62
62
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.
63
63
64
64
Add the following lines to your shell profile, usually `~/.zshrc`, `~/.bash_profile` or `~/.bashrc` or `~/.zprofile`:
0 commit comments