How to Install and Uninstall openjdk-21-jdk-headless Package on Kali Linux

Last updated: November 07,2024

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

This guide let you learn how to install openjdk-21-jdk-headless on Kali Linux

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

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

Please follow the guidance below to uninstall openjdk-21-jdk-headless on Kali Linux:

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

3. Information about the openjdk-21-jdk-headless package on Kali Linux

Package: openjdk-21-jdk-headless
Source: openjdk-21
Version: 21.0.2+13-2
Installed-Size: 93698
Maintainer: OpenJDK Team
Architecture: amd64
Replaces: openjdk-17-jre-headless (<< 17~10), openjdk-21-jre-headless (<< 21~27ea)
Provides: java-compiler, java-sdk-headless (= 21), java10-sdk-headless, java11-sdk-headless, java12-sdk-headless, java13-sdk-headless, java14-sdk-headless, java15-sdk-headless, java16-sdk-headless, java17-sdk-headless, java18-sdk-headless, java19-sdk-headless, java2-sdk-headless, java20-sdk-headless, java21-sdk-headless, java5-sdk-headless, java6-sdk-headless, java7-sdk-headless, java8-sdk-headless, java9-sdk-headless
Depends: openjdk-21-jre-headless (= 21.0.2+13-2), libc6 (>= 2.34), zlib1g (>= 1:1.1.4)
Suggests: openjdk-21-demo, openjdk-21-source
Breaks: openjdk-17-jre-headless (<< 17~10), openjdk-21-jre-headless (<< 21~27ea)
Size: 82603144
SHA256: ab665ba71d736a4874725622cba3cdd5ac4e6c3504a6babe41ea5bed979a2017
SHA1: aeec694bd234dedf0b305b7c9fce2a13f950b96d
MD5sum: 0b045c12dec18ad54efa698f0138c494
Description: OpenJDK Development Kit (JDK) (headless)
OpenJDK is a development environment for building applications,
applets, and components using the Java programming language.
Description-md5:
Multi-Arch: same
Homepage: https://openjdk.java.net/
Section: java
Priority: optional
Filename: pool/main/o/openjdk-21/openjdk-21-jdk-headless_21.0.2+13-2_amd64.deb