How to Install and Uninstall openjdk-17-jre Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 23,2024

1. Install "openjdk-17-jre" package

Learn how to install openjdk-17-jre on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install openjdk-17-jre

2. Uninstall "openjdk-17-jre" package

This tutorial shows how to uninstall openjdk-17-jre on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove openjdk-17-jre $ sudo apt autoclean && sudo apt autoremove

3. Information about the openjdk-17-jre package on Ubuntu 20.04 LTS (Focal Fossa)

Package: openjdk-17-jre
Architecture: amd64
Version: 17.0.9+9-1~20.04
Multi-Arch: same
Priority: optional
Section: universe/java
Source: openjdk-17
Origin: Ubuntu
Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 604
Provides: java-runtime (= 17), java10-runtime, java11-runtime, java12-runtime, java13-runtime, java14-runtime, java15-runtime, java16-runtime, java17-runtime, java2-runtime, java5-runtime, java6-runtime, java7-runtime, java8-runtime, java9-runtime
Depends: openjdk-17-jre-headless (= 17.0.9+9-1~20.04), libglib2.0-0 (>= 2.24), libgtk2.0-0 | libgtk-3-0, libxrandr2, libxinerama1, libgl1, libharfbuzz0b, libc6 (>= 2.29), libgif7 (>= 5.1), libjpeg8 (>= 8c), libpng16-16 (>= 1.6.2-1), libx11-6, libxext6, libxi6, libxrender1, libxtst6, zlib1g (>= 1:1.1.4)
Recommends: libatk-wrapper-java-jni (>= 0.30.4-0ubuntu2), fonts-dejavu-extra
Breaks: openjdk-17-jre-headless (<< 17~10)
Replaces: openjdk-17-jre-headless (<< 17~10)
Filename: pool/universe/o/openjdk-17/openjdk-17-jre_17.0.9+9-1~20.04_amd64.deb
Size: 183600
MD5sum: a3eb3bb5bc8715e2e1c081c83e1b1b8a
SHA1: 57d3a649f8c82254ed5a2b687bc74c2a2180253e
SHA256: 9aea5242ea861cc5228f84b51085e083e5fae00abb4e376bac3917d939134e40
SHA512: 4588ad942cb21ab70451f86c4ed614bcefe04640d6fa152c661e4a0043e66c22f2f4fbfa917f30af0608cadf533f3357685ee0de4048eb13bcfcfb5f816e04fb
Homepage: https://openjdk.java.net/
Description: OpenJDK Java runtime, using Hotspot JIT
Description-md5: 13097853553de1ab39cc189225a9cbaa