How to Install and Uninstall default-jre Package on Debian 12 (Bookworm)
Last updated: January 10,2025
Notice
You can also install and uninstall the default-jre on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "default-jre" package
Please follow the guidelines below to install default-jre on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
default-jre
Copied
2. Uninstall "default-jre" package
This tutorial shows how to uninstall default-jre on Debian 12 (Bookworm):
$
sudo apt remove
default-jre
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the default-jre package on Debian 12 (Bookworm)
Package: default-jre
Source: java-common (0.74)
Version: 2:1.17-74
Installed-Size: 6
Maintainer: Debian Java Maintainers
Architecture: amd64
Provides: java-runtime (= 17), java10-runtime, java11-runtime, java12-runtime, java13-runtime, java14-runtime, java15-runtime, java16-runtime, java17-runtime, java2-runtime, java5-runtime, java6-runtime, java7-runtime, java8-runtime, java9-runtime
Depends: default-jre-headless (= 2:1.17-74), openjdk-17-jre
Description: Standard Java or Java compatible Runtime
Description-md5: e747dcb24f92ffabcbdfba1db72f26e8
Homepage: https://wiki.debian.org/Java/
Cnf-Extra-Commands: java,jexec
Tag: devel::lang:java, devel::runtime, interface::commandline,
interface::graphical, interface::x11, role::metapackage, role::program,
x11::application
Section: java
Priority: optional
Filename: pool/main/j/java-common/default-jre_1.17-74_amd64.deb
Size: 1056
MD5sum: ef0071489b67f63cf0b5ec963b547c6b
SHA256: 2a068aa9b0501704a2d383aee06f12e598c813a4bc51ed158948b2e0aabd79db
Source: java-common (0.74)
Version: 2:1.17-74
Installed-Size: 6
Maintainer: Debian Java Maintainers
Architecture: amd64
Provides: java-runtime (= 17), java10-runtime, java11-runtime, java12-runtime, java13-runtime, java14-runtime, java15-runtime, java16-runtime, java17-runtime, java2-runtime, java5-runtime, java6-runtime, java7-runtime, java8-runtime, java9-runtime
Depends: default-jre-headless (= 2:1.17-74), openjdk-17-jre
Description: Standard Java or Java compatible Runtime
Description-md5: e747dcb24f92ffabcbdfba1db72f26e8
Homepage: https://wiki.debian.org/Java/
Cnf-Extra-Commands: java,jexec
Tag: devel::lang:java, devel::runtime, interface::commandline,
interface::graphical, interface::x11, role::metapackage, role::program,
x11::application
Section: java
Priority: optional
Filename: pool/main/j/java-common/default-jre_1.17-74_amd64.deb
Size: 1056
MD5sum: ef0071489b67f63cf0b5ec963b547c6b
SHA256: 2a068aa9b0501704a2d383aee06f12e598c813a4bc51ed158948b2e0aabd79db