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

Last updated: December 24,2024

1. Install "openjdk-11-jdk" package

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

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

2. Uninstall "openjdk-11-jdk" package

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

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

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

Package: openjdk-11-jdk
Architecture: amd64
Version: 11.0.16+8-0ubuntu1~18.04
Multi-Arch: same
Priority: optional
Section: java
Source: openjdk-lts
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1582
Provides: java-compiler, java-sdk, java10-sdk, java11-sdk, java2-sdk, java5-sdk, java6-sdk, java7-sdk, java8-sdk, java9-sdk
Depends: openjdk-11-jre (= 11.0.16+8-0ubuntu1~18.04), openjdk-11-jdk-headless (= 11.0.16+8-0ubuntu1~18.04), libc6 (>= 2.2.5)
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/main/o/openjdk-lts/openjdk-11-jdk_11.0.16+8-0ubuntu1~18.04_amd64.deb
Size: 1561728
MD5sum: 2fd88b1366e267f09a3c5d812ffb509c
SHA1: 658841915cf0665a8bda0e164fda0c582802351f
SHA256: 7d50ad5da770230493ebdde00ec3f7d311edd271359ce1c87917bb491b53f72d
SHA512: 4faca15edd9e6c77a38a299689da52eb00dea65fbe6360683886c0f9af1fd4ab3dc882e8b0c45305ccf3c802f073bd730af8e6f745554df1d9b362aa1e5c7984
Homepage: https://openjdk.java.net/
Description: OpenJDK Development Kit (JDK)
Description-md5: b9e7f4837238c34971e4a8b72ab7d045
Supported: 5y

Package: openjdk-11-jdk
Architecture: amd64
Version: 10.0.1+10-3ubuntu1
Multi-Arch: same
Priority: optional
Section: java
Source: openjdk-lts
Origin: Ubuntu
Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 68
Provides: java-compiler, java-sdk, java10-sdk, java2-sdk, java5-sdk, java6-sdk, java7-sdk, java8-sdk, java9-sdk
Depends: openjdk-11-jre (= 10.0.1+10-3ubuntu1), openjdk-11-jdk-headless (= 10.0.1+10-3ubuntu1), libc6 (>= 2.2.5)
Recommends: libxt-dev
Suggests: openjdk-11-demo, openjdk-11-source, visualvm
Filename: pool/main/o/openjdk-lts/openjdk-11-jdk_10.0.1+10-3ubuntu1_amd64.deb
Size: 17660
MD5sum: 7d3320936ec51a377cefab8d62ecbe7c
SHA1: 0394917b68d4bcf241fedf9fa82626334854828c
SHA256: cf6340b97a3d54ea2fde1ab9de450ff0720793282b26d12e564ba1dfb165332b
Homepage: http://openjdk.java.net/
Description: OpenJDK Development Kit (JDK)
Description-md5: b9e7f4837238c34971e4a8b72ab7d045
Supported: 5y