How to Install and Uninstall openjdk-9-jre-headless Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 25,2024

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

This is a short guide on how to install openjdk-9-jre-headless on Ubuntu 16.04 LTS (Xenial Xerus)

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

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

Please follow the guidance below to uninstall openjdk-9-jre-headless on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the openjdk-9-jre-headless package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: openjdk-9-jre-headless
Priority: optional
Section: universe/java
Installed-Size: 299261
Maintainer: OpenJDK Team
Architecture: amd64
Source: openjdk-9
Version: 9~b114-0ubuntu1
Provides: java-runtime-headless, java2-runtime-headless, java5-runtime-headless, java6-runtime-headless, java7-runtime-headless, java8-runtime-headless, java9-runtime-headless
Depends: ca-certificates-java, java-common (>= 0.28), libcups2, liblcms2-2 (>= 2.2+git20110628), libjpeg8 (>= 8c), libnss3 (>= 2:3.17.1), util-linux (>= 2.26.2-4), libc6 (>= 2.14), libfreetype6 (>= 2.2.1), libgcc1 (>= 1:3.4), libpcsclite1 (>= 1.3.0), libstdc++6 (>= 4.1.1), libx11-6, libxext6, libxi6, libxrender1, libxtst6, zlib1g (>= 1:1.1.4)
Pre-Depends: multiarch-support
Suggests: libnss-mdns, fonts-dejavu-extra, fonts-ipafont-gothic, fonts-ipafont-mincho, ttf-wqy-microhei | ttf-wqy-zenhei, fonts-indic
Filename: pool/universe/o/openjdk-9/openjdk-9-jre-headless_9~b114-0ubuntu1_amd64.deb
Size: 183069036
MD5sum: fd6de13463e0f28d3c666e04b85e1545
SHA1: 23f87be831ef771e119ba874a75e66a0d81a0fa7
SHA256: 271af4f020bbf856a63cd6b1ab1434e24710b2cf0875cd5d0049850c109ae912
Description-en: OpenJDK Java runtime, using Hotspot JIT (headless)
Minimal Java runtime - needed for executing non GUI Java programs,
using Hotspot JIT.
Description-md5: 62c2c9689e617c48cc4480926d2ca785
Multi-Arch: same
Homepage: http://openjdk.java.net/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu