How to Install and Uninstall default-jdk Package on Ubuntu 21.04 (Hirsute Hippo)
Last updated: December 24,2024
1. Install "default-jdk" package
Please follow the guidance below to install default-jdk on Ubuntu 21.04 (Hirsute Hippo)
$
sudo apt update
Copied
$
sudo apt install
default-jdk
Copied
2. Uninstall "default-jdk" package
Learn how to uninstall default-jdk on Ubuntu 21.04 (Hirsute Hippo):
$
sudo apt remove
default-jdk
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the default-jdk package on Ubuntu 21.04 (Hirsute Hippo)
Package: default-jdk
Architecture: amd64
Version: 2:1.11-72
Priority: optional
Section: devel
Source: java-common (0.72)
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-72), default-jdk-headless (= 2:1.11-72), openjdk-11-jdk
Filename: pool/main/j/java-common/default-jdk_1.11-72_amd64.deb
Size: 1096
MD5sum: 9726c7eef1b828953f7b607d422451f9
SHA1: 55d30fccae0b9ba105d4944bd36b3c6e2a874e90
SHA256: be42655647b35d356b73482c638c3bd23ba7e7afedd744bb3048803cedbe909f
SHA512: 84890eccc756e81e6632215aa2d1a414106bba2a2a827ec2c8978ee3f2f7be476f9a60ca44107992005c5221a9c03cc74bbaf35964aa8221901c4df1f8e31d24
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
Architecture: amd64
Version: 2:1.11-72
Priority: optional
Section: devel
Source: java-common (0.72)
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-72), default-jdk-headless (= 2:1.11-72), openjdk-11-jdk
Filename: pool/main/j/java-common/default-jdk_1.11-72_amd64.deb
Size: 1096
MD5sum: 9726c7eef1b828953f7b607d422451f9
SHA1: 55d30fccae0b9ba105d4944bd36b3c6e2a874e90
SHA256: be42655647b35d356b73482c638c3bd23ba7e7afedd744bb3048803cedbe909f
SHA512: 84890eccc756e81e6632215aa2d1a414106bba2a2a827ec2c8978ee3f2f7be476f9a60ca44107992005c5221a9c03cc74bbaf35964aa8221901c4df1f8e31d24
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