How to Install and Uninstall default-jre Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 24,2024

1. Install "default-jre" package

In this section, we are going to explain the necessary steps to install default-jre on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install default-jre

2. Uninstall "default-jre" package

In this section, we are going to explain the necessary steps to uninstall default-jre on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the default-jre package on Ubuntu 24.04 LTS (Noble Numbat)

Package: default-jre
Architecture: amd64
Version: 2:1.21-75+exp1
Priority: optional
Section: interpreters
Source: java-common (0.75+exp1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 6
Provides: java-runtime (= 21), java10-runtime, java11-runtime, java12-runtime, java13-runtime, java14-runtime, java15-runtime, java16-runtime, java17-runtime, java18-runtime, java19-runtime, java2-runtime, java20-runtime, java21-runtime, java5-runtime, java6-runtime, java7-runtime, java8-runtime, java9-runtime
Depends: default-jre-headless (= 2:1.21-75+exp1), openjdk-21-jre
Filename: pool/main/j/java-common/default-jre_1.21-75+exp1_amd64.deb
Size: 922
MD5sum: 69094d41cf3650a8601dd00e8b0105b3
SHA1: 2602d58c0f1f607c5074be8f37c7a3f8aacebe8d
SHA256: 5b4cb4d2269e45a5beee59b00ef23250880dc1e8d696be7358a2cc73a158df8b
SHA512: 54cb11432611c504f84f2eef02665a0b0b16813560798d40102e62912d8e42fb7e06049489929c769ca3fa40152f79be13ac16b3dbcb48d3dab3d5b026dbe896
Homepage: https://wiki.debian.org/Java/
Description: Standard Java or Java compatible Runtime
Description-md5: 90117af80a6ccf7d0232676d2885faad
Task: edubuntu-desktop-gnome, edubuntu-desktop-gnome-raspi
Cnf-Extra-Commands: java,jexec