How to Install and Uninstall default-jdk Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 26,2024

1. Install "default-jdk" package

In this section, we are going to explain the necessary steps to install default-jdk on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install default-jdk

2. Uninstall "default-jdk" package

This guide let you learn how to uninstall default-jdk on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove default-jdk $ sudo apt autoclean && sudo apt autoremove

3. Information about the default-jdk package on Ubuntu 21.10 (Impish Indri)

Package: default-jdk
Architecture: amd64
Version: 2:1.11-72build1
Priority: optional
Section: devel
Source: java-common (0.72build1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 6
Provides: java-sdk, java10-sdk, java11-sdk, java2-sdk, java5-sdk, java6-sdk, java7-sdk, java8-sdk, java9-sdk
Depends: default-jre (= 2:1.11-72build1), default-jdk-headless (= 2:1.11-72build1), openjdk-11-jdk
Filename: pool/main/j/java-common/default-jdk_1.11-72build1_amd64.deb
Size: 904
MD5sum: f9cac1c8bf135c5ba47e062ff61d4e3f
SHA1: f7fbc798deba63bb89c3a79063ebedde2d36bc3e
SHA256: 2e6e388085dfa672988dbfe7db6f0d1c5f19257793864f194cf5bfefd4c4d54c
SHA512: 20936095bc050c3af7dcd4cdc763a9d8b8046c3f47c1837b82c4bc48ccf767d34cb34feeee97558bd49d84d361c41ffdff1454ca4b7ca7573330e43034c8530a
Homepage: https://wiki.debian.org/Java/
Description-en: Standard Java or Java compatible Development Kit
This dependency package points to the Java runtime, or Java compatible
development kit recommended for this architecture, which is
openjdk-11-jdk for amd64.
Description-md5: c597cf36981d7716553d93e4f6672569
Cnf-Extra-Commands: javac,javadoc,jar