Fix documentation to say that both JDK 8 and 11 are supported

RELNOTES: None
PiperOrigin-RevId: 310907019
diff --git a/site/docs/install-compile-source.md b/site/docs/install-compile-source.md
index 99debcb..8e1db4b 100644
--- a/site/docs/install-compile-source.md
+++ b/site/docs/install-compile-source.md
@@ -190,8 +190,7 @@
 
 *   **C++ build toolchain**
 
-*   **JDK 8.** You must install version 8 of the JDK. Versions other than 8 are
-    *not* supported.
+*   **JDK.** Versions 8 and 11 are supported.
 
 *   **Python**. Versions 2 and 3 are supported, installing one of them is
     enough.
@@ -200,7 +199,7 @@
 following command:
 
 ```sh
-sudo apt-get install build-essential openjdk-8-jdk python zip unzip
+sudo apt-get install build-essential openjdk-11-jdk python zip unzip
 ```
 
 <h4 id="bootstrap-unix-bootstrap">2.2. Bootstrap Bazel</h4>