How to Install and Uninstall jdk-openjdk Package on Manjaro

Last updated: May 19,2024

1. Install "jdk-openjdk" package

Please follow the guidance below to install jdk-openjdk on Manjaro

$ sudo pacman -Sy $ sudo pacman -S jdk-openjdk

2. Uninstall "jdk-openjdk" package

Here is a brief guide to show you how to uninstall jdk-openjdk on Manjaro:

$ sudo pacman -Rcns jdk-openjdk

3. Information about the jdk-openjdk package on Manjaro

Repository : extra
Name : jdk-openjdk
Version : 21.u35-8
Description : OpenJDK Java 21 development kit
Architecture : x86_64
URL : https://openjdk.java.net/
Licenses : custom
Groups : None
Provides : java-environment=21 java-environment-openjdk=21
jdk21-openjdk=21.u35-8 java-runtime=21
java-runtime-openjdk=21 jre21-openjdk=21.u35-8
java-runtime-headless=21 java-runtime-headless-openjdk=21
jre21-openjdk-headless=21.u35-8
Depends On : java-runtime-common>=3 ca-certificates-utils nss
libjpeg-turbo libjpeg.so=8-64 lcms2 liblcms2.so=2-64
libnet freetype2 libfreetype.so=6-64 harfbuzz
libharfbuzz.so=0-64 glibc gcc-libs
java-environment-common=3 hicolor-icon-theme libelf
libgif.so=7-64 libpng ca-certificates-utils nss
libjpeg-turbo libjpeg.so=8-64 lcms2 liblcms2.so=2-64
libnet freetype2 libfreetype.so=6-64 harfbuzz
libharfbuzz.so=0-64
Optional Deps : java-rhino: for some JavaScript support
alsa-lib: for basic sound support
gtk2: for the Gtk+ 2 look and feel - desktop usage
gtk3: for the Gtk+ 3 look and feel - desktop usage
Conflicts With : jre-openjdk jre-openjdk-headless
Replaces : None
Download Size : 457.46 MiB
Installed Size : 1136.47 MiB
Packager : Frederik Schwan
Build Date : Tue Nov 7 20:57:43 2023
Validated By : MD5 Sum SHA-256 Sum Signature

5. The same packages on other Linux Distributions