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

Last updated: December 24,2024

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

This is a short guide on how to install openjdk-17-jdk-headless on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

Please follow the instructions below to uninstall openjdk-17-jdk-headless on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: openjdk-17-jdk-headless
Architecture: amd64
Version: 17.0.4+8-1~18.04
Multi-Arch: same
Priority: optional
Section: universe/java
Source: openjdk-17
Origin: Ubuntu
Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 243090
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, java2-sdk-headless, java5-sdk-headless, java6-sdk-headless, java7-sdk-headless, java8-sdk-headless, java9-sdk-headless
Depends: openjdk-17-jre-headless (= 17.0.4+8-1~18.04), libc6 (>= 2.2.5)
Suggests: openjdk-17-demo, openjdk-17-source
Breaks: openjdk-17-jre-headless (<< 17~10)
Replaces: openjdk-17-jre-headless (<< 17~10)
Filename: pool/universe/o/openjdk-17/openjdk-17-jdk-headless_17.0.4+8-1~18.04_amd64.deb
Size: 239910396
MD5sum: f4c1a0e118f51aa1b55322d62fb0525c
SHA1: 9943f6db9a4dcd8d7fe2872369475891fdfff8ba
SHA256: 0408ad00ee2e70f2e954110ef792c938f183edc2364ee377e0bf14890a450896
SHA512: 40761b9a98187ce3f8dd5c1bda15dab19ab7ee061cf34be4ee6c0dbd1935a80583b0ff23a151e4bde2ce50cbf87046f3188c9e8d841dd83cb6c312115e55a56b
Homepage: https://openjdk.java.net/
Description: OpenJDK Development Kit (JDK) (headless)
Description-md5: 494a52f34d707a832270d6d51a78f511