From f5bce69a426e727074f9f06b375b0f90b4536cee Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Thu, 3 Aug 2023 12:19:04 +0100 Subject: [PATCH] Update website to use JDK 17 --- docs/_getting-started-linux-android.md | 2 +- docs/_getting-started-macos-android.md | 8 ++++---- docs/_getting-started-windows-android.md | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/_getting-started-linux-android.md b/docs/_getting-started-linux-android.md index 400d0cc4764..5816574984c 100644 --- a/docs/_getting-started-linux-android.md +++ b/docs/_getting-started-linux-android.md @@ -13,7 +13,7 @@ Follow the [installation instructions for your Linux distribution](https://nodej

Java Development Kit

-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. +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.

Android development environment

diff --git a/docs/_getting-started-macos-android.md b/docs/_getting-started-macos-android.md index 30f92e0e2e7..cb546bee6a6 100644 --- a/docs/_getting-started-macos-android.md +++ b/docs/_getting-started-macos-android.md @@ -26,17 +26,17 @@ We recommend installing the OpenJDK distribution called Azul **Zulu** using [Hom ```shell brew tap homebrew/cask-versions -brew install --cask zulu11 +brew install --cask zulu17 # Get path to where cask was installed to double-click installer -brew info --cask zulu11 +brew info --cask zulu17 ``` -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` +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` 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. -If you have already installed JDK on your system, we recommend JDK 11. You may encounter problems using higher JDK versions. +If you have already installed JDK on your system, we recommend JDK 17. You may encounter problems using higher JDK versions.

Android development environment

diff --git a/docs/_getting-started-windows-android.md b/docs/_getting-started-windows-android.md index ce66ac4f848..49ba9dbf50e 100644 --- a/docs/_getting-started-windows-android.md +++ b/docs/_getting-started-windows-android.md @@ -13,15 +13,15 @@ We recommend installing Node via [Chocolatey](https://chocolatey.org), a popular 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. -React Native also requires [Java SE Development Kit (JDK)](https://openjdk.java.net/projects/jdk/11/), which can be installed using Chocolatey as well. +React Native also requires [Java SE Development Kit (JDK)](https://openjdk.java.net/projects/jdk/17/), which can be installed using Chocolatey as well. Open an Administrator Command Prompt (right click Command Prompt and select "Run as Administrator"), then run the following command: ```powershell -choco install -y nodejs-lts microsoft-openjdk11 +choco install -y nodejs-lts microsoft-openjdk17 ``` -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. +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. > You can find additional installation options on [Node's Downloads page](https://nodejs.org/en/download/).