How to Install and Uninstall openjdk-17-jre-headless Package on Linux Mint 21.3 (Virginia)

Last updated: December 28,2024

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

This tutorial shows how to install openjdk-17-jre-headless on Linux Mint 21.3 (Virginia)

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

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

Please follow the instructions below to uninstall openjdk-17-jre-headless on Linux Mint 21.3 (Virginia):

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

3. Information about the openjdk-17-jre-headless package on Linux Mint 21.3 (Virginia)

Package: openjdk-17-jre-headless
Architecture: amd64
Version: 17.0.10+7-1~22.04.1
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: 187871
Provides: java-runtime-headless (= 17), 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 (>= 20190405~), 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.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-17/openjdk-17-jre-headless_17.0.10+7-1~22.04.1_amd64.deb
Size: 48162824
MD5sum: 6c50ad857741387b4b128427b84a66ed
SHA1: 689a9affdf76790970fc850ba6c9e91bfd8a936f
SHA256: bf06bd616140a19478241124e7fb9b6599b79d18abdce4e427f03ff7f6c1ea0b
SHA512: 0b79a35c89b29dbbdbedda4ebec4e82ed95f34d401d186254d7502b94b0caea05f083081e6192ab9e8b7737db98e9fd1986c3943c684e3a2237517d8b8d39cc4
Homepage: https://openjdk.java.net/
Description: OpenJDK Java runtime, using Hotspot JIT (headless)
Description-md5: 62c2c9689e617c48cc4480926d2ca785

Package: openjdk-17-jre-headless
Architecture: amd64
Version: 17.0.2+8-1
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: 184266
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 (>= 20190405~), 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.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-17/openjdk-17-jre-headless_17.0.2+8-1_amd64.deb
Size: 47592224
MD5sum: a77c35576258ed016d1cbc720cf1ad08
SHA1: 980f31f6868cbea11c59e4045cc1954dc1a05eac
SHA256: 4a3d5b901b867e5514650333cbcacb4caa67525b2d9c7f6755d49a16728c4415
SHA512: a90f918be0d7f3e0814871cf2dc79f4c80d733b7e85ac9b2b81bd5f19285209340f724f052aa33afd97bda04a577f2a575980fe890699d81b11d0a1a3bd7b5bd
Homepage: https://openjdk.java.net/
Description: OpenJDK Java runtime, using Hotspot JIT (headless)
Description-md5: 62c2c9689e617c48cc4480926d2ca785