How to Install and Uninstall openjdk-8-jdk Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 02,2024

1. Install "openjdk-8-jdk" package

Here is a brief guide to show you how to install openjdk-8-jdk on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install openjdk-8-jdk

2. Uninstall "openjdk-8-jdk" package

Here is a brief guide to show you how to uninstall openjdk-8-jdk on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove openjdk-8-jdk $ sudo apt autoclean && sudo apt autoremove

3. Information about the openjdk-8-jdk package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: openjdk-8-jdk
Architecture: amd64
Version: 8u292-b10-0ubuntu1~16.04.1
Multi-Arch: same
Priority: optional
Section: java
Source: openjdk-8
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1545
Provides: java-compiler, java-sdk, java2-sdk, java5-sdk, java6-sdk, java7-sdk, java8-sdk
Depends: openjdk-8-jre (= 8u292-b10-0ubuntu1~16.04.1), openjdk-8-jdk-headless (= 8u292-b10-0ubuntu1~16.04.1), libc6 (>= 2.2.5)
Recommends: libxt-dev
Suggests: openjdk-8-demo, openjdk-8-source, visualvm
Filename: pool/main/o/openjdk-8/openjdk-8-jdk_8u292-b10-0ubuntu1~16.04.1_amd64.deb
Size: 1458134
MD5sum: 8afed5d0e94b4e2ac0875b414c48fb93
SHA1: 38042dd1addbc44eae82e83dc4ad38faa0574250
SHA256: 20ccd99359e30c6e13b254ef2e8a3476b8ab276c380de2b32e7070af906f9596
SHA512: c61a81194dbca1f3db9b53e7a882970719b059adb47025030f9061ea259efb1e0d0b4034c5c842632e7cf67801362379c441dc0edcce3541e66f8b9ded4e5d6e
Homepage: http://openjdk.java.net/
Description-en: OpenJDK Development Kit (JDK)
OpenJDK is a development environment for building applications,
applets, and components using the Java programming language.
.
The packages are built using the IcedTea build support and patches
from the IcedTea project.
Description-md5: eaff50443f15582a8beb0901034b62cf
Supported: 5y

Package: openjdk-8-jdk
Priority: optional
Section: java
Installed-Size: 458
Maintainer: OpenJDK Team
Architecture: amd64
Source: openjdk-8
Version: 8u77-b03-3ubuntu3
Provides: java-compiler, java-sdk, java2-sdk, java5-sdk, java6-sdk, java7-sdk, java8-sdk
Depends: openjdk-8-jre (= 8u77-b03-3ubuntu3), openjdk-8-jdk-headless (= 8u77-b03-3ubuntu3), libc6 (>= 2.2.5)
Recommends: libxt-dev
Suggests: openjdk-8-demo, openjdk-8-source, visualvm
Filename: pool/main/o/openjdk-8/openjdk-8-jdk_8u77-b03-3ubuntu3_amd64.deb
Size: 381474
MD5sum: e69947eb9a7771ad7c3028907a6d7895
SHA1: 484a4297d1ef4feadb188bc20c306153c0c90ab6
SHA256: bceb7c08807f05a95839cd58cb55722e5b5429b3a8d5fcd2232470e9ea8e11ba
Description-en: OpenJDK Development Kit (JDK)
OpenJDK is a development environment for building applications,
applets, and components using the Java programming language.
.
The packages are built using the IcedTea build support and patches
from the IcedTea project.
Description-md5: eaff50443f15582a8beb0901034b62cf
Multi-Arch: same
Homepage: http://openjdk.java.net/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y