Skip to content

Commit 9ef152b

Browse files
authored
Update website to use JDK 17 (#3812)
LGTM.
1 parent 40016ad commit 9ef152b

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

docs/_getting-started-linux-android.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Follow the [installation instructions for your Linux distribution](https://nodej
1313

1414
<h3>Java Development Kit</h3>
1515

16-
React Native currently recommends version 11 of the Java SE Development Kit (JDK). You may encounter problems using higher JDK versions. You may download and install [OpenJDK](https://openjdk.java.net) from [AdoptOpenJDK](https://adoptopenjdk.net/) or your system packager.
16+
React Native currently recommends version 17 of the Java SE Development Kit (JDK). You may encounter problems using higher JDK versions. You may download and install [OpenJDK](https://openjdk.java.net) from [AdoptOpenJDK](https://adoptopenjdk.net/) or your system packager.
1717

1818
<h3>Android development environment</h3>
1919

docs/_getting-started-macos-android.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ We recommend installing the OpenJDK distribution called Azul **Zulu** using [Hom
2626

2727
```shell
2828
brew tap homebrew/cask-versions
29-
brew install --cask zulu11
29+
brew install --cask zulu17
3030

3131
# Get path to where cask was installed to double-click installer
32-
brew info --cask zulu11
32+
brew info --cask zulu17
3333
```
3434

35-
After you install the JDK, update your `JAVA_HOME` environment variable. If you used above steps, JDK will likely be at `/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home`
35+
After you install the JDK, update your `JAVA_HOME` environment variable. If you used above steps, JDK will likely be at `/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home`
3636

3737
The Zulu OpenJDK distribution offers JDKs for **both Intel and M1 Macs**. This will make sure your builds are faster on M1 Macs compared to using an Intel-based JDK.
3838

39-
If you have already installed JDK on your system, we recommend JDK 11. You may encounter problems using higher JDK versions.
39+
If you have already installed JDK on your system, we recommend JDK 17. You may encounter problems using higher JDK versions.
4040

4141
<h3>Android development environment</h3>
4242

docs/_getting-started-windows-android.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ We recommend installing Node via [Chocolatey](https://chocolatey.org), a popular
1313

1414
It is recommended to use an LTS version of Node. If you want to be able to switch between different versions, you might want to install Node via [nvm-windows](https://github.com/coreybutler/nvm-windows), a Node version manager for Windows.
1515

16-
React Native also requires [Java SE Development Kit (JDK)](https://openjdk.java.net/projects/jdk/11/), which can be installed using Chocolatey as well.
16+
React Native also requires [Java SE Development Kit (JDK)](https://openjdk.java.net/projects/jdk/17/), which can be installed using Chocolatey as well.
1717

1818
Open an Administrator Command Prompt (right click Command Prompt and select "Run as Administrator"), then run the following command:
1919

2020
```powershell
21-
choco install -y nodejs-lts microsoft-openjdk11
21+
choco install -y nodejs-lts microsoft-openjdk17
2222
```
2323

24-
If you have already installed Node on your system, make sure it is Node 16 or newer. If you already have a JDK on your system, we recommend JDK11. You may encounter problems using higher JDK versions.
24+
If you have already installed Node on your system, make sure it is Node 16 or newer. If you already have a JDK on your system, we recommend JDK17. You may encounter problems using higher JDK versions.
2525

2626
> You can find additional installation options on [Node's Downloads page](https://nodejs.org/en/download/).
2727

0 commit comments

Comments
 (0)