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

Last updated: November 26,2024

1. Install "openjdk-19-jdk-headless" package

Please follow the guidance below to install openjdk-19-jdk-headless on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install openjdk-19-jdk-headless

2. Uninstall "openjdk-19-jdk-headless" package

This tutorial shows how to uninstall openjdk-19-jdk-headless on Ubuntu 22.04 LTS (Jammy Jellyfish):

$ sudo apt remove openjdk-19-jdk-headless $ sudo apt autoclean && sudo apt autoremove

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

Package: openjdk-19-jdk-headless
Architecture: amd64
Version: 19.0.2+7-0ubuntu3~22.04
Multi-Arch: same
Priority: optional
Section: universe/java
Source: openjdk-19
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 256484
Provides: java-compiler, java-sdk-headless, java10-sdk-headless, java11-sdk-headless, java12-sdk-headless, java13-sdk-headless, java14-sdk-headless, java15-sdk-headless, java16-sdk-headless, java17-sdk-headless, java18-sdk-headless, java19-sdk-headless, java2-sdk-headless, java5-sdk-headless, java6-sdk-headless, java7-sdk-headless, java8-sdk-headless, java9-sdk-headless
Depends: openjdk-19-jre-headless (= 19.0.2+7-0ubuntu3~22.04), libc6 (>= 2.34)
Suggests: openjdk-19-demo, openjdk-19-source
Breaks: openjdk-17-jre-headless (<< 17~10)
Replaces: openjdk-17-jre-headless (<< 17~10)
Filename: pool/universe/o/openjdk-19/openjdk-19-jdk-headless_19.0.2+7-0ubuntu3~22.04_amd64.deb
Size: 253722562
MD5sum: 9b903002142cc2908112b3d3021e0ebb
SHA1: 2700140f98ba8e730c7ae0cc700f827c0cce4ae3
SHA256: 478f3718ba9b5528331e3a60fdd017b0b3e931b2ce9bfef621495bcbfaf60776
SHA512: 610ca373cf8d95c11b2cd8f9ff66c29aa7229448958b461c0893d7dca33ce70c00a288b00498b2eda286392e8fc264af9baa3b2819107233298f8e8b80ecde3d
Homepage: https://openjdk.java.net/
Description: OpenJDK Development Kit (JDK) (headless)
Description-md5: 494a52f34d707a832270d6d51a78f511