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

Last updated: December 25,2024

1. Install "openjdk-22-jdk" package

This guide covers the steps necessary to install openjdk-22-jdk on Kali Linux

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

2. Uninstall "openjdk-22-jdk" package

Please follow the guidelines below to uninstall openjdk-22-jdk on Kali Linux:

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

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

Package: openjdk-22-jdk
Source: openjdk-22
Version: 22~32ea-1
Installed-Size: 3564
Maintainer: OpenJDK Team
Architecture: amd64
Provides: java-compiler, java-sdk (= 22), java10-sdk, java11-sdk, java12-sdk, java13-sdk, java14-sdk, java15-sdk, java16-sdk, java17-sdk, java18-sdk, java19-sdk, java2-sdk, java20-sdk, java21-sdk, java22-sdk, java5-sdk, java6-sdk, java7-sdk, java8-sdk, java9-sdk
Depends: openjdk-22-jre (= 22~32ea-1), openjdk-22-jdk-headless (= 22~32ea-1), libc6 (>= 2.34), zlib1g (>= 1:1.1.4)
Recommends: libxt-dev
Suggests: openjdk-22-demo, openjdk-22-source, visualvm
Size: 3439940
SHA256: 7387933fd474daad9c1d3c50a0454def46f41c6ce6ced7b6765e59cdd2ee09b3
SHA1: 4922cf2524476d15d1591c8df8dd05baf287a8d7
MD5sum: 10ae77f928e8dfad4ab5d337f2b35842
Description: OpenJDK Development Kit (JDK)
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_22~32ea-1_amd64.deb

5. The same packages on other Linux Distributions