jdk on AUR (Arch User Repository)

Last updated: July 06,2024

1. Install "jdk" effortlessly via AUR with the help of a helper(YAY)

a. Install YAY (https://github.com/Jguer/yay)

$ sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

b. Install jdk on Arch using YAY

$ yay -S jdk

* (Optional) Uninstall jdk on Arch using YAY

$ yay -Rns jdk

2. Manually Install "jdk" via AUR

a. Ensure you have the base development tools and git installed with:

$ sudo pacman -S --needed base-devel git

b. Clone jdk's git locally

$ git clone https://aur.archlinux.org/jdk.git ~/jdk

c. Go to ~/jdk folder and install it

$ cd ~/jdk $ makepkg -si

3. Information about the jdk package on Arch User Repository (AUR)

ID: 1391895
Name: jdk
PackageBaseID: 51906
PackageBase: jdk
Version: 21.0.2-1
Description: Oracle Java Development Kit
URL: https://www.oracle.com/java/
NumVotes: 1087
Popularity: 0.670764
OutOfDate:
Maintainer: dbermond
Submitter: td123
FirstSubmitted: 1314467800
LastModified: 1706117508
URLPath: /cgit/aur.git/snapshot/jdk.tar.gz