How to Install and Uninstall openjdk-17-jre-headless Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: December 27,2024

1. Install "openjdk-17-jre-headless" package

Please follow the guidelines below to install openjdk-17-jre-headless on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "openjdk-17-jre-headless" package

This tutorial shows how to uninstall openjdk-17-jre-headless on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the openjdk-17-jre-headless package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: openjdk-17-jre-headless
Architecture: amd64
Version: 17.0.4+8-1~18.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: 187846
Provides: java-runtime-headless, java10-runtime-headless, java11-runtime-headless, java12-runtime-headless, java13-runtime-headless, java14-runtime-headless, java15-runtime-headless, java16-runtime-headless, java17-runtime-headless, java2-runtime-headless, java5-runtime-headless, java6-runtime-headless, java7-runtime-headless, java8-runtime-headless, java9-runtime-headless
Depends: ca-certificates-java, java-common (>= 0.28), libcups2, liblcms2-2 (>= 2.2+git20110628), libjpeg8 (>= 8c), libfontconfig1, libnss3 (>= 2:3.17.1), util-linux (>= 2.26.2-4), libasound2 (>= 1.0.16), libc6 (>= 2.27), libfreetype6 (>= 2.3.5), libgcc1 (>= 1:3.0), libharfbuzz0b (>= 1.2.6), libpcsclite1 (>= 1.3.0), libstdc++6 (>= 5), zlib1g (>= 1:1.2.2)
Suggests: libnss-mdns, fonts-dejavu-extra, fonts-ipafont-gothic, fonts-ipafont-mincho, fonts-wqy-microhei | fonts-wqy-zenhei, fonts-indic
Conflicts: openjdk-11-jdk-headless (<< 11~18-2), oracle-java11-installer
Breaks: clojure1.8 (<= 1.8.0-7ubuntu1~), eclipse-platform (<< 3.8.1-11), eclipse-rcp (<< 3.8.1-11), jetty9 (<< 9.4.15-1~), libequinox-osgi-java (<< 3.9.1), netbeans (<< 10.0-3~), tomcat8 (<< 8.5.39-1ubuntu1~), visualvm (<< 1.4.2-2~)
Replaces: openjdk-11-jdk-headless (<< 11~18-2)
Filename: pool/universe/o/openjdk-17/openjdk-17-jre-headless_17.0.4+8-1~18.04_amd64.deb
Size: 43521800
MD5sum: 41693b64f714984e65f855908d3b1109
SHA1: d821391c918edbc85ad62d04929744d2e932d588
SHA256: ee2567c15442190c9ff842c8dbd720976055c6ef3c6baa5cf1a605d6de501677
SHA512: 6cec69410584965e7eee3962edd864d2b72fd9cb45455fab8fc7a7baa8e37d094beecb5e3512d5465496a1a8e30866a970a876874843aaae9982903a26fc2e0d
Homepage: https://openjdk.java.net/
Description: OpenJDK Java runtime, using Hotspot JIT (headless)
Description-md5: 62c2c9689e617c48cc4480926d2ca785