How to Install and Uninstall openjdk-18-jdk Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: November 05,2024
Notice
You can also install and uninstall the openjdk-18-jdk on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "openjdk-18-jdk" package
Please follow the step by step instructions below to install openjdk-18-jdk on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
openjdk-18-jdk
Copied
2. Uninstall "openjdk-18-jdk" package
Please follow the guidance below to uninstall openjdk-18-jdk on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
openjdk-18-jdk
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the openjdk-18-jdk package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: openjdk-18-jdk
Architecture: amd64
Version: 18.0.2+9-2~22.04
Multi-Arch: same
Priority: optional
Section: universe/java
Source: openjdk-18
Origin: Ubuntu
Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4684
Provides: java-compiler, java-sdk, java10-sdk, java11-sdk, java12-sdk, java13-sdk, java14-sdk, java15-sdk, java16-sdk, java17-sdk, java2-sdk, java5-sdk, java6-sdk, java7-sdk, java8-sdk, java9-sdk
Depends: openjdk-18-jre (= 18.0.2+9-2~22.04), openjdk-18-jdk-headless (= 18.0.2+9-2~22.04), libc6 (>= 2.34)
Recommends: libxt-dev
Suggests: openjdk-18-demo, openjdk-18-source, visualvm
Filename: pool/universe/o/openjdk-18/openjdk-18-jdk_18.0.2+9-2~22.04_amd64.deb
Size: 4634542
MD5sum: 652be1f46b76015f98d94f023247767c
SHA1: 51cc6ab89a6c6d0d3889444124ff86f4c7fb21f9
SHA256: 9acc50cf666722fade70acf7755dce1e45fec9d5c3dc44b3d6739742fc310712
SHA512: 975ffa760281e271160e1d417b7e6794bbb6bcf7921be198351d47173308d2b829f398c3caa725e90e9914fec8d204174b287a1d89ed6a1c329a1a9b8d5f2d09
Homepage: https://openjdk.java.net/
Description: OpenJDK Development Kit (JDK)
Description-md5: b9e7f4837238c34971e4a8b72ab7d045
Package: openjdk-18-jdk
Architecture: amd64
Version: 18~36ea-1
Multi-Arch: same
Priority: optional
Section: universe/java
Source: openjdk-18
Origin: Ubuntu
Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 54
Provides: java-compiler, java-sdk, java10-sdk, java11-sdk, java12-sdk, java13-sdk, java14-sdk, java15-sdk, java16-sdk, java17-sdk, java2-sdk, java5-sdk, java6-sdk, java7-sdk, java8-sdk, java9-sdk
Depends: openjdk-18-jre (= 18~36ea-1), openjdk-18-jdk-headless (= 18~36ea-1), libc6 (>= 2.34)
Recommends: libxt-dev
Suggests: openjdk-18-demo, openjdk-18-source, visualvm
Filename: pool/universe/o/openjdk-18/openjdk-18-jdk_18~36ea-1_amd64.deb
Size: 10860
MD5sum: da2c29f92ea19fee4630c9f783721775
SHA1: 52a2687a9681856f13aac0374a4452948fc66092
SHA256: 2c3488781447a6a107fa14bf279f4c445085edbafff1fb642f3dee7fc4eb5a1d
SHA512: 6ee7b604ecf59adfca5709ae9814510b4bda2615d1becaeb7f171cb65d0195c79a0ffcd9a5a9a7eb601ec94990621e2e706be72c7079a11cbb34ae7709cb05d0
Homepage: https://openjdk.java.net/
Description: OpenJDK Development Kit (JDK)
Description-md5: b9e7f4837238c34971e4a8b72ab7d045
Architecture: amd64
Version: 18.0.2+9-2~22.04
Multi-Arch: same
Priority: optional
Section: universe/java
Source: openjdk-18
Origin: Ubuntu
Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4684
Provides: java-compiler, java-sdk, java10-sdk, java11-sdk, java12-sdk, java13-sdk, java14-sdk, java15-sdk, java16-sdk, java17-sdk, java2-sdk, java5-sdk, java6-sdk, java7-sdk, java8-sdk, java9-sdk
Depends: openjdk-18-jre (= 18.0.2+9-2~22.04), openjdk-18-jdk-headless (= 18.0.2+9-2~22.04), libc6 (>= 2.34)
Recommends: libxt-dev
Suggests: openjdk-18-demo, openjdk-18-source, visualvm
Filename: pool/universe/o/openjdk-18/openjdk-18-jdk_18.0.2+9-2~22.04_amd64.deb
Size: 4634542
MD5sum: 652be1f46b76015f98d94f023247767c
SHA1: 51cc6ab89a6c6d0d3889444124ff86f4c7fb21f9
SHA256: 9acc50cf666722fade70acf7755dce1e45fec9d5c3dc44b3d6739742fc310712
SHA512: 975ffa760281e271160e1d417b7e6794bbb6bcf7921be198351d47173308d2b829f398c3caa725e90e9914fec8d204174b287a1d89ed6a1c329a1a9b8d5f2d09
Homepage: https://openjdk.java.net/
Description: OpenJDK Development Kit (JDK)
Description-md5: b9e7f4837238c34971e4a8b72ab7d045
Package: openjdk-18-jdk
Architecture: amd64
Version: 18~36ea-1
Multi-Arch: same
Priority: optional
Section: universe/java
Source: openjdk-18
Origin: Ubuntu
Maintainer: OpenJDK Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 54
Provides: java-compiler, java-sdk, java10-sdk, java11-sdk, java12-sdk, java13-sdk, java14-sdk, java15-sdk, java16-sdk, java17-sdk, java2-sdk, java5-sdk, java6-sdk, java7-sdk, java8-sdk, java9-sdk
Depends: openjdk-18-jre (= 18~36ea-1), openjdk-18-jdk-headless (= 18~36ea-1), libc6 (>= 2.34)
Recommends: libxt-dev
Suggests: openjdk-18-demo, openjdk-18-source, visualvm
Filename: pool/universe/o/openjdk-18/openjdk-18-jdk_18~36ea-1_amd64.deb
Size: 10860
MD5sum: da2c29f92ea19fee4630c9f783721775
SHA1: 52a2687a9681856f13aac0374a4452948fc66092
SHA256: 2c3488781447a6a107fa14bf279f4c445085edbafff1fb642f3dee7fc4eb5a1d
SHA512: 6ee7b604ecf59adfca5709ae9814510b4bda2615d1becaeb7f171cb65d0195c79a0ffcd9a5a9a7eb601ec94990621e2e706be72c7079a11cbb34ae7709cb05d0
Homepage: https://openjdk.java.net/
Description: OpenJDK Development Kit (JDK)
Description-md5: b9e7f4837238c34971e4a8b72ab7d045