How to Install and Uninstall default-jdk Package on Debian 12 (Bookworm)
Last updated: November 23,2024
Notice
You can also install and uninstall the default-jdk on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "default-jdk" package
This tutorial shows how to install default-jdk on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
default-jdk
Copied
2. Uninstall "default-jdk" package
Please follow the step by step instructions below to uninstall default-jdk on Debian 12 (Bookworm):
$
sudo apt remove
default-jdk
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the default-jdk package on Debian 12 (Bookworm)
Package: default-jdk
Source: java-common (0.74)
Version: 2:1.17-74
Installed-Size: 6
Maintainer: Debian Java Maintainers
Architecture: amd64
Provides: 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: default-jre (= 2:1.17-74), default-jdk-headless (= 2:1.17-74), openjdk-17-jdk
Description: Standard Java or Java compatible Development Kit
Description-md5: 30bf8987d27a870a46b718f89e1eb700
Homepage: https://wiki.debian.org/Java/
Cnf-Extra-Commands: javac,javadoc,jar
Tag: devel::buildtools, devel::compiler, devel::lang:java, devel::library,
devel::runtime, implemented-in::TODO, implemented-in::java,
role::devel-lib, role::metapackage, role::program
Section: java
Priority: optional
Filename: pool/main/j/java-common/default-jdk_1.17-74_amd64.deb
Size: 1068
MD5sum: 7d5e8027eba482310f45e3468d8a6b3e
SHA256: 2e8a819d13ba186ff408777f52de8860cdad50aad63cd7100a3e4daffc06f6cd
Source: java-common (0.74)
Version: 2:1.17-74
Installed-Size: 6
Maintainer: Debian Java Maintainers
Architecture: amd64
Provides: 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: default-jre (= 2:1.17-74), default-jdk-headless (= 2:1.17-74), openjdk-17-jdk
Description: Standard Java or Java compatible Development Kit
Description-md5: 30bf8987d27a870a46b718f89e1eb700
Homepage: https://wiki.debian.org/Java/
Cnf-Extra-Commands: javac,javadoc,jar
Tag: devel::buildtools, devel::compiler, devel::lang:java, devel::library,
devel::runtime, implemented-in::TODO, implemented-in::java,
role::devel-lib, role::metapackage, role::program
Section: java
Priority: optional
Filename: pool/main/j/java-common/default-jdk_1.17-74_amd64.deb
Size: 1068
MD5sum: 7d5e8027eba482310f45e3468d8a6b3e
SHA256: 2e8a819d13ba186ff408777f52de8860cdad50aad63cd7100a3e4daffc06f6cd