diff --git a/site/en/install/compile-source.md b/site/en/install/compile-source.md index 10dd39e09b792c..1a6ad4096325e1 100644 --- a/site/en/install/compile-source.md +++ b/site/en/install/compile-source.md @@ -191,7 +191,7 @@ For instructions for Windows, see [Bootstrap Bazel on Windows](#bootstrap-window * **C++ build toolchain** -* **JDK.** Version 11 is required. +* **JDK.** Version 21 is required. * **Python**. Versions 2 and 3 are supported, installing one of them is enough. @@ -200,7 +200,7 @@ For example on Ubuntu Linux you can install these requirements using the following command: ```sh -sudo apt-get install build-essential openjdk-11-jdk python zip unzip +sudo apt-get install build-essential openjdk-21-jdk python zip unzip ``` #### 2.2. Bootstrap Bazel on Unix {:#bootstrap-unix} @@ -239,11 +239,11 @@ For instructions for Unix-like systems, see of Visual Studio 2015 or newer, or by installing the latest [Build Tools for Visual Studio 2017](https://aka.ms/BuildTools). -* **JDK.** Version 11 is required. +* **JDK.** Version 21 is required. * **Python**. Versions 2 and 3 are supported, installing one of them is enough. You need the Windows-native version (downloadable from - [https://www.python.org](https://www.python.org)). Versions installed via + [https://www.python.org](https://www.python.org)). Versions installed via pacman in MSYS2 will not work. #### 2.2. Bootstrap Bazel on Windows {:#bootstrap-windows} @@ -268,14 +268,14 @@ For instructions for Unix-like systems, see export BAZEL_VS="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools" export BAZEL_SH="$(cygpath -m $(realpath $(which bash)))" export PATH="/c/python27:$PATH" - export JAVA_HOME="C:/Program Files/Java/jdk1.8.0_112" + export JAVA_HOME="C:/Program Files/Java/jdk-21" or (using BAZEL\_VC): export BAZEL_VC="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC" export BAZEL_SH="$(cygpath -m $(realpath $(which bash)))" export PATH="/c/python27:$PATH" - export JAVA_HOME="C:/Program Files/Java/jdk1.8.0_112" + export JAVA_HOME="C:/Program Files/Java/jdk-21" 3. `cd` to the directory where you unpacked the distribution archive.