How to Install and Uninstall openjdk-11-jdk Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: December 28,2024

1. Install "openjdk-11-jdk" package

Please follow the guidelines below to install openjdk-11-jdk on Ubuntu 24.04 LTS (Noble Numbat)

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

2. Uninstall "openjdk-11-jdk" package

Please follow the steps below to uninstall openjdk-11-jdk on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the openjdk-11-jdk package on Ubuntu 24.04 LTS (Noble Numbat)

Package: openjdk-11-jdk
Architecture: amd64
Version: 11.0.22+7-0ubuntu2
Multi-Arch: same
Priority: optional
Section: universe/java
Source: openjdk-lts
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1360
Provides: java-compiler, java-sdk (= 11), java10-sdk, java11-sdk, java2-sdk, java5-sdk, java6-sdk, java7-sdk, java8-sdk, java9-sdk
Depends: openjdk-11-jre (= 11.0.22+7-0ubuntu2), openjdk-11-jdk-headless (= 11.0.22+7-0ubuntu2), libc6 (>= 2.34), zlib1g (>= 1:1.1.4)
Recommends: libxt-dev
Suggests: openjdk-11-demo, openjdk-11-source, visualvm
Conflicts: openjdk-11-jre-headless (<< 11~19-2)
Replaces: openjdk-11-jre-headless (<< 11~19-2)
Filename: pool/universe/o/openjdk-lts/openjdk-11-jdk_11.0.22+7-0ubuntu2_amd64.deb
Size: 1308708
MD5sum: 6e7484909eecabe1d8f2118e4f6638a1
SHA1: b31b050a7b46349844cbfbfd6598ace60fc350f2
SHA256: 8085c5674db935d7489a55317cde122f7717bf10cbe663e6d8d2c6bb3e53cabf
SHA512: 7a6907244f7d5d061a5932218b7db2b2639d3c3eb1014dee07c404be61c129fe44281ed94505d81f1482112b5b691e17cafe5e52bf3cedec7cd6ef87c7e0007f
Homepage: https://openjdk.java.net/
Description: OpenJDK Development Kit (JDK)
Description-md5: b9e7f4837238c34971e4a8b72ab7d045