How to Install and Uninstall openjdk-21-jre-headless Package on Linux Mint 21.3 (Virginia)
Last updated: November 26,2024
1. Install "openjdk-21-jre-headless" package
This tutorial shows how to install openjdk-21-jre-headless on Linux Mint 21.3 (Virginia)
$
sudo apt update
Copied
$
sudo apt install
openjdk-21-jre-headless
Copied
2. Uninstall "openjdk-21-jre-headless" package
This is a short guide on how to uninstall openjdk-21-jre-headless on Linux Mint 21.3 (Virginia):
$
sudo apt remove
openjdk-21-jre-headless
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the openjdk-21-jre-headless package on Linux Mint 21.3 (Virginia)
Package: openjdk-21-jre-headless
Architecture: amd64
Version: 21.0.2+13-1~22.04.1
Multi-Arch: same
Priority: optional
Section: universe/java
Source: openjdk-21
Origin: Ubuntu
Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 197402
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.34), 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/universe/o/openjdk-21/openjdk-21-jre-headless_21.0.2+13-1~22.04.1_amd64.deb
Size: 46941138
MD5sum: 4743eb494c71776ee965c533d6834779
SHA1: 4508bfb113eaddcdfb60f762f36ccb1f27040d1c
SHA256: ab1528f6bdc4a1fcd9f8d496d248b4a286ba16e769c21d2d640163b7e5047a1d
SHA512: 738e31b7156162dc3bda2e3e57ff235f9283261c86ac7879b7ed46b957407ede91f1f61c08c6b9b99a0b6c4e51dad555653851f6cb85a78af58e7ba4aacde886
Homepage: https://openjdk.java.net/
Description: OpenJDK Java runtime, using Hotspot JIT (headless)
Description-md5: 62c2c9689e617c48cc4480926d2ca785
Architecture: amd64
Version: 21.0.2+13-1~22.04.1
Multi-Arch: same
Priority: optional
Section: universe/java
Source: openjdk-21
Origin: Ubuntu
Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 197402
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.34), 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/universe/o/openjdk-21/openjdk-21-jre-headless_21.0.2+13-1~22.04.1_amd64.deb
Size: 46941138
MD5sum: 4743eb494c71776ee965c533d6834779
SHA1: 4508bfb113eaddcdfb60f762f36ccb1f27040d1c
SHA256: ab1528f6bdc4a1fcd9f8d496d248b4a286ba16e769c21d2d640163b7e5047a1d
SHA512: 738e31b7156162dc3bda2e3e57ff235f9283261c86ac7879b7ed46b957407ede91f1f61c08c6b9b99a0b6c4e51dad555653851f6cb85a78af58e7ba4aacde886
Homepage: https://openjdk.java.net/
Description: OpenJDK Java runtime, using Hotspot JIT (headless)
Description-md5: 62c2c9689e617c48cc4480926d2ca785