Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention Ubuntu 22.04, simplify JDK install steps #18826

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions site/en/install/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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}
Expand All @@ -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}
Expand Down
Loading