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

Last updated: November 23,2024

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

Please follow the guidance below to install openjdk-22-jdk-headless on Kali Linux

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

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

This guide covers the steps necessary to uninstall openjdk-22-jdk-headless on Kali Linux:

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

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

Package: openjdk-22-jdk-headless
Source: openjdk-22
Version: 22~32ea-1
Installed-Size: 92435
Maintainer: OpenJDK Team
Architecture: amd64
Provides: java-compiler, java-sdk-headless (= 22), 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, java22-sdk-headless, java5-sdk-headless, java6-sdk-headless, java7-sdk-headless, java8-sdk-headless, java9-sdk-headless
Depends: openjdk-22-jre-headless (= 22~32ea-1), libc6 (>= 2.34), zlib1g (>= 1:1.1.4)
Suggests: openjdk-22-demo, openjdk-22-source
Size: 82960232
SHA256: e62eb1f01dfff30f06bb8e5f200e4190a79fe28287a003671ae5dd42290ecc1d
SHA1: 4395e8e8d4b835c3f909cbd31323f8e673210322
MD5sum: feb0af5be19b20938c5a3dd0f01f8545
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-22/openjdk-22-jdk-headless_22~32ea-1_amd64.deb

5. The same packages on other Linux Distributions