How to Install and Uninstall default-jre Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: November 22,2024
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 Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "default-jre" package
This guide covers the steps necessary to install default-jre on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
default-jre
Copied
2. Uninstall "default-jre" package
This tutorial shows how to uninstall default-jre on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
default-jre
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the default-jre package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: default-jre
Architecture: amd64
Version: 2:1.11-72build2
Priority: optional
Section: interpreters
Source: java-common (0.72build2)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 6
Provides: java-runtime, java10-runtime, java11-runtime, java2-runtime, java5-runtime, java6-runtime, java7-runtime, java8-runtime, java9-runtime
Depends: default-jre-headless (= 2:1.11-72build2), openjdk-11-jre
Filename: pool/main/j/java-common/default-jre_1.11-72build2_amd64.deb
Size: 896
MD5sum: 52db584df8499fc6020c3edd13a25475
SHA1: 41b0e1d5a29a28c92ee48e925041cce5dd0547a6
SHA256: cf9e079452824e8ccb331a6d301c08e782c2ddb6bffec9ad31ce50003980a7ce
SHA512: 0798da0a3274791d920307d3715d7a8c5e5e38fa5575bbdd4a4d7ae6cdc6f15f7f02d56e2f929f20f79fb1fc95d0ee7b2de8afe63b44e73623922ad6298a7906
Homepage: https://wiki.debian.org/Java/
Description: Standard Java or Java compatible Runtime
Description-md5: 071b7a2f9baf048d89c849c14bcafb9e
Cnf-Extra-Commands: java,jexec
Architecture: amd64
Version: 2:1.11-72build2
Priority: optional
Section: interpreters
Source: java-common (0.72build2)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 6
Provides: java-runtime, java10-runtime, java11-runtime, java2-runtime, java5-runtime, java6-runtime, java7-runtime, java8-runtime, java9-runtime
Depends: default-jre-headless (= 2:1.11-72build2), openjdk-11-jre
Filename: pool/main/j/java-common/default-jre_1.11-72build2_amd64.deb
Size: 896
MD5sum: 52db584df8499fc6020c3edd13a25475
SHA1: 41b0e1d5a29a28c92ee48e925041cce5dd0547a6
SHA256: cf9e079452824e8ccb331a6d301c08e782c2ddb6bffec9ad31ce50003980a7ce
SHA512: 0798da0a3274791d920307d3715d7a8c5e5e38fa5575bbdd4a4d7ae6cdc6f15f7f02d56e2f929f20f79fb1fc95d0ee7b2de8afe63b44e73623922ad6298a7906
Homepage: https://wiki.debian.org/Java/
Description: Standard Java or Java compatible Runtime
Description-md5: 071b7a2f9baf048d89c849c14bcafb9e
Cnf-Extra-Commands: java,jexec