How to Install and Uninstall openjdk-8-jdk Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 23,2024

1. Install "openjdk-8-jdk" package

This guide let you learn how to install openjdk-8-jdk on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

2. Uninstall "openjdk-8-jdk" package

Learn how to uninstall openjdk-8-jdk on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the openjdk-8-jdk package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: openjdk-8-jdk
Architecture: amd64
Version: 8u392-ga-1~22.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: 4277
Provides: java-compiler, java-sdk (= 8), java2-sdk, java5-sdk, java6-sdk, java7-sdk, java8-sdk
Depends: openjdk-8-jre (= 8u392-ga-1~22.04), openjdk-8-jdk-headless (= 8u392-ga-1~22.04), libc6 (>= 2.34), libx11-6, zlib1g (>= 1:1.1.4)
Recommends: libxt-dev
Suggests: openjdk-8-demo, openjdk-8-source, visualvm
Filename: pool/universe/o/openjdk-8/openjdk-8-jdk_8u392-ga-1~22.04_amd64.deb
Size: 4006148
MD5sum: 6a35a2205a88c7d48ee7cd62f93b6977
SHA1: 2a38c5db35bf61e08cd14c3cf6c4abd3671caaf8
SHA256: 16a25ba7341f84239c89cc1a625fe879081fa6ed5c7047e6cdbf21e0b981bf9e
SHA512: 366f08613e448d6001689abb5aaf4ff6790fc306023a0ece836f214e0f877e54a6205ea2e6852cbb115ac44e9a754d3961337e0b139993e27fc2752760285eb5
Homepage: http://openjdk.java.net/
Description: OpenJDK Development Kit (JDK)
Description-md5: 675290db0de49757986666504c33f9b2

Package: openjdk-8-jdk
Architecture: amd64
Version: 8u312-b07-0ubuntu1
Multi-Arch: same
Priority: optional
Section: universe/java
Source: openjdk-8
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4250
Provides: java-compiler, java-sdk, java2-sdk, java5-sdk, java6-sdk, java7-sdk, java8-sdk
Depends: openjdk-8-jre (= 8u312-b07-0ubuntu1), openjdk-8-jdk-headless (= 8u312-b07-0ubuntu1), libc6 (>= 2.34)
Recommends: libxt-dev
Suggests: openjdk-8-demo, openjdk-8-source, visualvm
Filename: pool/universe/o/openjdk-8/openjdk-8-jdk_8u312-b07-0ubuntu1_amd64.deb
Size: 4052890
MD5sum: 2daae112ab2e90365291ba58ed657d3e
SHA1: 4104115628f6bbcc093b07a654227b54aaed64f9
SHA256: 0a5a0fcea399df02be97686777d55c9d217a519fafdf2343424c9977e152fc1b
SHA512: 0bccef6bf86072cf850991e78874b9c290c8ec2970cdb1ce564bed589b24e83004348240e15bf4c9eb3105eea00241b83b8502f3bd21ca893d6709fc34ec6e93
Homepage: http://openjdk.java.net/
Description: OpenJDK Development Kit (JDK)
Description-md5: eaff50443f15582a8beb0901034b62cf