From 51e10d1e2c3216bbf0346189bca1895a956336f5 Mon Sep 17 00:00:00 2001 From: Jason Mobarak Date: Thu, 13 Jul 2023 05:51:09 -0700 Subject: [PATCH] Mention Ubuntu 22.04, simplify JDK install steps - Hopefully stating that Ubuntu 22.04 is supported isn't controversial since this is the latest Ubuntu LTS release - Also updated the JDK install instructions to use `default-jdk` which will install the default JDK for whatever Debian/Ubuntu version the user is on, this simplifies these instructions and should streamline future maintenance as well Closes #18826. PiperOrigin-RevId: 547770011 Change-Id: I68d7f4b1f942cfafec15b6f725a7561fe8425bfc --- site/en/install/ubuntu.md | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/site/en/install/ubuntu.md b/site/en/install/ubuntu.md index fd00d3761836ef..b79ae022c2aae3 100644 --- a/site/en/install/ubuntu.md +++ b/site/en/install/ubuntu.md @@ -11,6 +11,7 @@ if needed as a backup option (for example, if you don't have admin access). Supported Ubuntu Linux platforms: +* 22.04 (LTS) * 20.04 (LTS) * 18.04 (LTS) @@ -91,11 +92,7 @@ install any specific version of Java. However, if you want to build Java code using Bazel, you have to install a JDK. ```posix-terminal -# Ubuntu 16.04 (LTS) uses OpenJDK 8 by default: -sudo apt install openjdk-8-jdk - -# Ubuntu 18.04 (LTS) uses OpenJDK 11 by default: -sudo apt install openjdk-11-jdk +sudo apt install default-jdk ``` ## Using the binary installer {:#binary-installer} @@ -120,11 +117,7 @@ sudo apt install g++ unzip zip If you want to build Java code using Bazel, install a JDK: ```posix-terminal -# Ubuntu 16.04 (LTS) uses OpenJDK 8 by default: -sudo apt-get install openjdk-8-jdk - -# Ubuntu 18.04 (LTS) uses OpenJDK 11 by default: -sudo apt-get install openjdk-11-jdk +sudo apt-get install default-jdk ``` ### Step 2: Run the installer {:#run-installer}