How to Install and Uninstall openjdk-17-jdk Package on Debian 11 (Bullseye)

Last updated: November 22,2024

1. Install "openjdk-17-jdk" package

This guide covers the steps necessary to install openjdk-17-jdk on Debian 11 (Bullseye)

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

2. Uninstall "openjdk-17-jdk" package

Please follow the instructions below to uninstall openjdk-17-jdk on Debian 11 (Bullseye):

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

3. Information about the openjdk-17-jdk package on Debian 11 (Bullseye)

Package: openjdk-17-jdk
Source: openjdk-17
Version: 17.0.4+8-1~deb11u1
Installed-Size: 54
Maintainer: OpenJDK Team
Architecture: amd64
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.4+8-1~deb11u1), openjdk-17-jdk-headless (= 17.0.4+8-1~deb11u1), libc6 (>= 2.2.5)
Suggests: openjdk-17-demo, openjdk-17-source, visualvm
Description: OpenJDK Development Kit (JDK)
Description-md5: b9e7f4837238c34971e4a8b72ab7d045
Homepage: https://openjdk.java.net/
Multi-Arch: same
Recommends: libxt-dev
Section: java
Priority: optional
Filename: pool/updates/main/o/openjdk-17/openjdk-17-jdk_17.0.4+8-1~deb11u1_amd64.deb
Size: 10480
SHA256: b46d8ef8c5002940b9ac265f63e1fbeddd206eee44409bf0cd12641dfbab42e5

Package: openjdk-17-jdk
Source: openjdk-17
Version: 17.0.3+7-1~deb11u1
Installed-Size: 54
Maintainer: OpenJDK Team
Architecture: amd64
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.3+7-1~deb11u1), openjdk-17-jdk-headless (= 17.0.3+7-1~deb11u1), libc6 (>= 2.2.5)
Recommends: libxt-dev
Suggests: openjdk-17-demo, openjdk-17-source, visualvm
Description: OpenJDK Development Kit (JDK)
Description-md5: b9e7f4837238c34971e4a8b72ab7d045
Multi-Arch: same
Homepage: https://openjdk.java.net/
Section: java
Priority: optional
Filename: pool/main/o/openjdk-17/openjdk-17-jdk_17.0.3+7-1~deb11u1_amd64.deb
Size: 10484
MD5sum: 26bc7d6a3fcf9213c33e2a0dc092aa60
SHA256: 2badbe6bbfe1daf7b56c2bf21fadab2c3f5012dcf31ec915067ae9b720e9a164