dev-bazel: Replace mention of java 11 with java 21

Also replace references to bower with yarn. We have not used bower
in quite a while. In addition update the link to bazel.

Also update java versions required in install.txt.

Release-Notes: skip
Change-Id: I23b90d7ee49237c560722fdcb641c5228f22761c
(cherry picked from commit bedc83564a077f1f5c6019bd51308095989aaf3c)
diff --git a/Documentation/dev-bazel.txt b/Documentation/dev-bazel.txt
index 4c224b5..fac71fb 100644
--- a/Documentation/dev-bazel.txt
+++ b/Documentation/dev-bazel.txt
@@ -18,11 +18,11 @@
 To build Gerrit from source, you need:
 
 * A Linux or macOS system (Windows is not supported at this time)
-* A JDK for Java 11 or Java 17
+* A JDK for Java 17 or Java 21
 * Python 3
 * link:https://github.com/nodesource/distributions/blob/master/README.md[Node.js (including npm),role=external,window=_blank]
-* Bower (`npm install -g bower`)
-* link:https://docs.bazel.build/versions/master/install.html[Bazel,role=external,window=_blank] -launched with
+* Yarn (`npm install -g yarn`)
+* link:https://bazel.build/install[Bazel,role=external,window=_blank] -launched with
 link:https://github.com/bazelbuild/bazelisk[Bazelisk,role=external,window=_blank]
 * Maven
 * zip, unzip
@@ -40,7 +40,7 @@
 worry about which version of Bazel you need.
 
 Bazelisk can be installed in different ways:
-link:https://docs.bazel.build/install-bazelisk.html[Bazelisk Installation,role=external,window=_blank].
+link:https://bazel.build/install/bazelisk[Bazelisk Installation,role=external,window=_blank].
 To execute the correct version of Bazel using Bazelisk you simply replace
 the `bazel` command with `bazelisk`.
 
@@ -54,13 +54,13 @@
 
 `java -version`
 
-[[java-11]]
-==== Java 11 support
+[[java-21]]
+==== Java 21 support
 
-To build Gerrit with Java 11 language level, run:
+To build Gerrit with Java 21 language level, run:
 
 ```
-  $ bazelisk build --config=java11 :release
+  $ bazelisk build --config=java21 :release
 ```
 
 [[java-17]]
diff --git a/Documentation/install.txt b/Documentation/install.txt
index 6e1a9bd..7733d52 100644
--- a/Documentation/install.txt
+++ b/Documentation/install.txt
@@ -6,9 +6,7 @@
 
 To run the Gerrit service, the following requirement must be met on the host:
 
-* JRE, versions 1.8 or 11 http://www.oracle.com/technetwork/java/javase/downloads/index.html[Download,role=external,window=_blank]
-+
-Gerrit is not yet compatible with Java 13 or newer at this time.
+* JRE, versions 17 or 21 https://www.oracle.com/java/technologies/downloads/?er=221886[Download,role=external,window=_blank]
 
 [[download]]
 == Download Gerrit