Skip to content

Commit cf3ca4c

Browse files
committed
fix: recommend jdk 17 instead of 11
1 parent a97790a commit cf3ca4c

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

content/setup/linux.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ You will need Node, NativeScript CLI (command line interface), Android Studio an
1313

1414
**Android Studio** is not strictly necessary — however it provides an easy-to-use interface for installing and managing the Android SDKs.
1515

16-
To install **Node** follow the [instructions specific to your Linux distribution](https://nodejs.org/en/download/package-manager/). We recommend using the latest version, however anything above **Node 12** should be fine.
16+
To install **Node** follow the [instructions specific to your Linux distribution](https://nodejs.org/en/download/package-manager/). We recommend using the latest version, however anything above **Node 14** should be fine.
1717

1818
:::warning Note
1919
We have gone through these steps on **Ubuntu 20.04** and noted the commands we used, however depending on your Linux distribution, the commands may be different. We cannot provide commands for all possible distributions, so please refer to the linked documentation to find the correct commands you need to run.
@@ -33,8 +33,8 @@ To confirm **Node** is installed correctly, run:
3333
$ node -v
3434
$ npm -v
3535
# Should print something like
36-
$:v15.x.x
37-
7.x.x
36+
$:v22.x.x
37+
10.x.x
3838
```
3939

4040
A **JDK version 8 or greater** is required, and you have a couple options:
@@ -46,8 +46,8 @@ A **JDK version 8 or greater** is required, and you have a couple options:
4646
<!-- tab:Ubuntu 20.04 -->
4747

4848
```cli
49-
# On Ubuntu 20.04, we used the following command to install OpenJDK 14
50-
sudo apt-get install -y openjdk-14-jdk
49+
# On Ubuntu 20.04, we used the following command to install OpenJDK 17
50+
sudo apt-get install -y openjdk-17-jdk
5151
```
5252

5353
To confirm **JDK** is installed correctly, run:
@@ -56,11 +56,11 @@ To confirm **JDK** is installed correctly, run:
5656
$ java --version
5757
$ javac --version
5858
# Should print something like
59-
$:openjdk 14.0.2 2020-07-14
60-
OpenJDK Runtime Environment (build 14.0.2+12-Ubuntu-120.04)
61-
OpenJDK 64-Bit Server VM (build 14.0.2+12-Ubuntu-120.04, mixed mode, sharing)
59+
$:openjdk 17.x.x 202x-xx-xx
60+
OpenJDK Runtime Environment (build xx.x.x+xx-Ubuntu-xxx.xx)
61+
OpenJDK 64-Bit Server VM (build xx.x.x+xx-Ubuntu-xxx.xx, mixed mode, sharing)
6262
63-
javac 14.0.2
63+
javac 17.x.x
6464
```
6565

6666
:::tip Note

content/setup/windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ If any of the above failed, we recommend checking out the [Microsoft Docs for Se
4646
To install a **JDK** (using the prebuilt OpenJDK binaries from [Adoptium](https://adoptium.net/)) open an Administrator Command Prompt (right click and select "Run as Administrator") and run the following command:
4747

4848
```cli
49-
choco install -y temurin11
49+
choco install -y temurin17
5050
```
5151

5252
Once installed, you might need to add it to your `Path`. First, check if you need to add it to your `Path` by opening a new Command Prompt and running the following:

0 commit comments

Comments
 (0)