How to Install and Uninstall openjdk-21-jre-headless Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 22,2024

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

Please follow the guidelines below to install openjdk-21-jre-headless on Ubuntu 24.04 LTS (Noble Numbat)

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

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

Here is a brief guide to show you how to uninstall openjdk-21-jre-headless on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the openjdk-21-jre-headless package on Ubuntu 24.04 LTS (Noble Numbat)

Package: openjdk-21-jre-headless
Architecture: amd64
Version: 21.0.2+13-2
Multi-Arch: same
Priority: optional
Section: java
Source: openjdk-21
Origin: Ubuntu
Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 197386
Provides: java-runtime-headless (= 21), java10-runtime-headless, java11-runtime-headless, java12-runtime-headless, java13-runtime-headless, java14-runtime-headless, java15-runtime-headless, java16-runtime-headless, java17-runtime-headless, java19-runtime-headless, java2-runtime-headless, java20-runtime-headless, java21-runtime-headless, java5-runtime-headless, java6-runtime-headless, java7-runtime-headless, java8-runtime-headless, java9-runtime-headless
Depends: ca-certificates-java (>= 20190405~), java-common (>= 0.28), libcups2, liblcms2-2 (>= 2.8), libjpeg8 (>= 8c), libfontconfig1, libnss3 (>= 2:3.17.1), util-linux (>= 2.26.2-4), libasound2 (>= 1.0.16), libc6 (>= 2.38), libfreetype6 (>= 2.3.5), libgcc-s1 (>= 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~)
Replaces: openjdk-11-jdk-headless (<< 11~18-2)
Filename: pool/main/o/openjdk-21/openjdk-21-jre-headless_21.0.2+13-2_amd64.deb
Size: 46579698
MD5sum: 1100a87673c5b06dfa81b9a0971d76b1
SHA1: c15f6cf01696008d562676edc88fb3064cef2007
SHA256: 8bd222dfae1c24b9bc3ba03b896e6d3e550bddac01c0767ca5cf3e6de9a7312c
SHA512: 5d034cd3a6a5ccc912ed3a5bf860ae1b6c2b490aab6b6d9038102c56a12d1fc7e80c376a3f40766bd20de31f9c5622e9c88b662f253b64c9ef823d21841f24c6
Homepage: https://openjdk.java.net/
Description: OpenJDK Java runtime, using Hotspot JIT (headless)
Description-md5: 62c2c9689e617c48cc4480926d2ca785
Task: edubuntu-desktop-gnome, edubuntu-desktop-gnome-raspi