How to Install and Uninstall openjdk-21-jre-headless Package on Kali Linux
Last updated: November 22,2024
1. Install "openjdk-21-jre-headless" package
This is a short guide on how to install openjdk-21-jre-headless on Kali Linux
$
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 Kali Linux:
$
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 Kali Linux
Package: openjdk-21-jre-headless
Source: openjdk-21
Version: 21.0.2+13-2
Installed-Size: 197375
Maintainer: OpenJDK Team
Architecture: amd64
Replaces: openjdk-11-jdk-headless (<< 11~18-2)
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), libjpeg62-turbo (>= 1.3.1), 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~)
Size: 41828768
SHA256: f5fe8c562cb0bba61d22ce47a1758ddaaefb8a015838f460762bb4149536ffce
SHA1: 0a908cc30482c765b5026320df29051519a3b9d9
MD5sum: ad4bd539d1d5e322a30043bf1d6891c1
Description: OpenJDK Java runtime, using Hotspot JIT (headless)
Minimal Java runtime - needed for executing non GUI Java programs,
using Hotspot JIT.
Description-md5:
Multi-Arch: same
Homepage: https://openjdk.java.net/
Section: java
Priority: optional
Filename: pool/main/o/openjdk-21/openjdk-21-jre-headless_21.0.2+13-2_amd64.deb
Source: openjdk-21
Version: 21.0.2+13-2
Installed-Size: 197375
Maintainer: OpenJDK Team
Architecture: amd64
Replaces: openjdk-11-jdk-headless (<< 11~18-2)
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), libjpeg62-turbo (>= 1.3.1), 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~)
Size: 41828768
SHA256: f5fe8c562cb0bba61d22ce47a1758ddaaefb8a015838f460762bb4149536ffce
SHA1: 0a908cc30482c765b5026320df29051519a3b9d9
MD5sum: ad4bd539d1d5e322a30043bf1d6891c1
Description: OpenJDK Java runtime, using Hotspot JIT (headless)
Minimal Java runtime - needed for executing non GUI Java programs,
using Hotspot JIT.
Description-md5:
Multi-Arch: same
Homepage: https://openjdk.java.net/
Section: java
Priority: optional
Filename: pool/main/o/openjdk-21/openjdk-21-jre-headless_21.0.2+13-2_amd64.deb