Skip to content

Commit 7b6b71e

Browse files
authored
Adopt OpenJDK11 (facebook#2800)
1 parent bae76bd commit 7b6b71e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/_getting-started-macos-android.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ If you have already installed Node on your system, make sure it is Node 12 or ne
2222
We recommend installing JDK using [Homebrew](http://brew.sh/). Run the following commands in a Terminal after installing Homebrew:
2323

2424
```shell
25-
brew install --cask adoptopenjdk/openjdk/adoptopenjdk8
25+
brew install --cask adoptopenjdk/openjdk/adoptopenjdk11
2626
```
2727

28-
If you have already installed JDK on your system, make sure it is JDK 8 or newer.
28+
If you have already installed JDK on your system, make sure it is JDK 11 or newer.
2929

3030
<h3>Android development environment</h3>
3131

docs/_getting-started-windows-android.md

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

1111
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.
1212

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

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

1717
```powershell
18-
choco install -y nodejs-lts openjdk8
18+
choco install -y nodejs-lts openjdk11
1919
```
2020

21-
If you have already installed Node on your system, make sure it is Node LTS 12 or newer. If you already have a JDK on your system, make sure it is version 8 or newer.
21+
If you have already installed Node on your system, make sure it is Node 12 or newer. If you already have a JDK on your system, make sure it is version 11 or newer.
2222

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

0 commit comments

Comments
 (0)