How to Install and Uninstall openjdk-17-jdk Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 22,2024

1. Install "openjdk-17-jdk" package

Please follow the guidance below to install openjdk-17-jdk on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "openjdk-17-jdk" package

Please follow the steps below to uninstall openjdk-17-jdk on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the openjdk-17-jdk package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: openjdk-17-jdk
Architecture: amd64
Version: 17.0.4+8-1~18.04
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: 50
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~18.04), openjdk-17-jdk-headless (= 17.0.4+8-1~18.04), libc6 (>= 2.2.5)
Recommends: libxt-dev
Suggests: openjdk-17-demo, openjdk-17-source, visualvm
Filename: pool/universe/o/openjdk-17/openjdk-17-jdk_17.0.4+8-1~18.04_amd64.deb
Size: 10532
MD5sum: 87b03d755e3bd450b706f9b2052d02b7
SHA1: 91882bfe77adeb52ee977ccf47f204af56d8a96b
SHA256: 403da4fddd8921678f1b1e529e35735e26b501c6e958a9ab35a4bd63fa430e7f
SHA512: d943b82af84092fc1fbc86ca575988b3877baf0270ae20da011f93bd1b931d09acc8ccfd7d3fe05d424b5ca08a63c4f1ed2152921fae2ecd1340b55f57e640ca
Homepage: https://openjdk.java.net/
Description: OpenJDK Development Kit (JDK)
Description-md5: b9e7f4837238c34971e4a8b72ab7d045