How to Install and Uninstall openjdk-8-jre-headless Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: December 23,2024

1. Install "openjdk-8-jre-headless" package

Here is a brief guide to show you how to install openjdk-8-jre-headless on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install openjdk-8-jre-headless

2. Uninstall "openjdk-8-jre-headless" package

Learn how to uninstall openjdk-8-jre-headless on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove openjdk-8-jre-headless $ sudo apt autoclean && sudo apt autoremove

3. Information about the openjdk-8-jre-headless package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: openjdk-8-jre-headless
Architecture: amd64
Version: 8u342-b07-0ubuntu1~18.04
Multi-Arch: same
Priority: optional
Section: universe/java
Source: openjdk-8
Origin: Ubuntu
Maintainer: Java Maintenance
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 101336
Provides: java-runtime-headless, java2-runtime-headless, java5-runtime-headless, java6-runtime-headless, java7-runtime-headless, java8-runtime-headless
Depends: ca-certificates-java, java-common (>= 0.28), libcups2, liblcms2-2 (>= 2.2+git20110628), libjpeg8 (>= 8c), libfontconfig1, libnss3 (>= 2:3.17.1), util-linux (>= 2.26.2-4), libc6 (>= 2.14), libfreetype6 (>= 2.3.5), libgcc1 (>= 1:3.0), libpcsclite1 (>= 1.3.0), libstdc++6 (>= 4.1.1), libx11-6, libxext6, libxi6, libxrender1, libxtst6, zlib1g (>= 1:1.1.4)
Suggests: libnss-mdns, fonts-dejavu-extra, fonts-ipafont-gothic, fonts-ipafont-mincho, fonts-wqy-microhei, fonts-wqy-zenhei, fonts-indic
Breaks: ca-certificates-java (<< 20160321~), oracle-java8-installer (<< 8u77+8u77arm-1), tzdata-java
Filename: pool/universe/o/openjdk-8/openjdk-8-jre-headless_8u342-b07-0ubuntu1~18.04_amd64.deb
Size: 28293048
MD5sum: 63327f77743156338fd41e09d5bcd988
SHA1: 170e4d2ea1ea8966fd36659f59466b17df8bed19
SHA256: 9fac1e1bb96f0455170c2dba872cf1bfbf641a6977bf022cd3aa71cb63dc0127
SHA512: c7bddb206bf34a65b7ee1704dc4359ac5bb446d173d8724fb82c8e00c20d813c5241bdf1188cd6350edf1359b2b09d148367760e2701bac2f190a8f6ffc8b1db
Homepage: http://openjdk.java.net/
Description: OpenJDK Java runtime, using Hotspot JIT (headless)
Description-md5: 20eb08d56f9496cba7ae5bc1fc762f93
Supported: 3y

Package: openjdk-8-jre-headless
Architecture: amd64
Version: 8u162-b12-1
Multi-Arch: same
Priority: optional
Section: universe/java
Source: openjdk-8
Origin: Ubuntu
Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 97586
Provides: java2-runtime-headless, java5-runtime-headless, java6-runtime-headless, java7-runtime-headless, java8-runtime-headless
Depends: ca-certificates-java, java-common (>= 0.28), libcups2, liblcms2-2 (>= 2.2+git20110628), libjpeg8 (>= 8c), libfontconfig1, libnss3 (>= 2:3.17.1), util-linux (>= 2.26.2-4), libc6 (>= 2.14), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:3.0), libpcsclite1 (>= 1.3.0), libstdc++6 (>= 4.1.1), libx11-6, libxext6, libxi6, libxrender1, libxtst6, zlib1g (>= 1:1.1.4)
Suggests: libnss-mdns, fonts-dejavu-extra, fonts-ipafont-gothic, fonts-ipafont-mincho, fonts-wqy-microhei, fonts-wqy-zenhei, fonts-indic
Breaks: ca-certificates-java (<< 20160321~), oracle-java8-installer (<< 8u77+8u77arm-1), tzdata-java
Filename: pool/universe/o/openjdk-8/openjdk-8-jre-headless_8u162-b12-1_amd64.deb
Size: 27301924
MD5sum: cb6211c33c9aaaf6b581492dfef284b8
SHA1: 7c9cf04330431e7b2d1a0686a3e4884c25451482
SHA256: b8a7a03277f75363eb9867c2ed8ae955b54842531c330244752a6e6cab86c57e
Homepage: http://openjdk.java.net/
Description: OpenJDK Java runtime, using Hotspot JIT (headless)
Description-md5: 20eb08d56f9496cba7ae5bc1fc762f93
Supported: 3y