How to Install and Uninstall openjdk-17-jdk Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 27,2024

1. Install "openjdk-17-jdk" package

In this section, we are going to explain the necessary steps to install openjdk-17-jdk on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

2. Uninstall "openjdk-17-jdk" package

Please follow the guidelines below to uninstall openjdk-17-jdk on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the openjdk-17-jdk package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: openjdk-17-jdk
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: 2391
Provides: java-compiler, java-sdk (= 17), java10-sdk, java11-sdk, java12-sdk, java13-sdk, java14-sdk, java15-sdk, java16-sdk, java17-sdk, java2-sdk, java5-sdk, java6-sdk, java7-sdk, java8-sdk, java9-sdk
Depends: openjdk-17-jre (= 17.0.10+7-1~22.04.1), openjdk-17-jdk-headless (= 17.0.10+7-1~22.04.1), libc6 (>= 2.34), zlib1g (>= 1:1.1.4)
Recommends: libxt-dev
Suggests: openjdk-17-demo, openjdk-17-source, visualvm
Filename: pool/universe/o/openjdk-17/openjdk-17-jdk_17.0.10+7-1~22.04.1_amd64.deb
Size: 2363720
MD5sum: 3590cd85fb126f7565a80ef4ebcaf85c
SHA1: ffad83f944bbdc863c2d07e046c36a05fcac66a3
SHA256: 21a139f66f45bdefaef0e33ee509c6e9ca40e51a156ccb82f22672f43fa3cb47
SHA512: 9d003726e53a1ba42bf4fa46137b9da1c246e76f8e0faaf952f5e65edf78b1e654554f57478c73135e3e26115bc77273b105309702eedda245b9901000244544
Homepage: https://openjdk.java.net/
Description: OpenJDK Development Kit (JDK)
Description-md5: b9e7f4837238c34971e4a8b72ab7d045

Package: openjdk-17-jdk
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: 58
Provides: java-compiler, java-sdk, java10-sdk, java11-sdk, java12-sdk, java13-sdk, java14-sdk, java15-sdk, java16-sdk, java17-sdk, java2-sdk, java5-sdk, java6-sdk, java7-sdk, java8-sdk, java9-sdk
Depends: openjdk-17-jre (= 17.0.2+8-1), openjdk-17-jdk-headless (= 17.0.2+8-1), libc6 (>= 2.34)
Recommends: libxt-dev
Suggests: openjdk-17-demo, openjdk-17-source, visualvm
Filename: pool/universe/o/openjdk-17/openjdk-17-jdk_17.0.2+8-1_amd64.deb
Size: 10752
MD5sum: bb81c63ecf6b0ced0cf25241744753f9
SHA1: 52203bf8b95f7d1445fdbed8de5bf374526d721b
SHA256: dc7511158b1591676238f8878e4d5ea65bda089c6a16e2e6229f640c2fa7e525
SHA512: 124db864226d57dc1b63c63d08f7ce648a78d38f6bcd19b2a535ca80488ee78261e44e172c231d52f4db5b11a8aef4eb64d1db681fbbee26bb70333a52e64d7a
Homepage: https://openjdk.java.net/
Description: OpenJDK Development Kit (JDK)
Description-md5: b9e7f4837238c34971e4a8b72ab7d045