jdk11-adoptopenjdk on AUR (Arch User Repository)

Last updated: December 24,2024

1. Install "jdk11-adoptopenjdk" 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 jdk11-adoptopenjdk on Arch using YAY

$ yay -S jdk11-adoptopenjdk

* (Optional) Uninstall jdk11-adoptopenjdk on Arch using YAY

$ yay -Rns jdk11-adoptopenjdk

2. Manually Install "jdk11-adoptopenjdk" via AUR

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

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

b. Clone jdk11-adoptopenjdk's git locally

$ git clone https://aur.archlinux.org/jdk11-adoptopenjdk.git ~/jdk11-adoptopenjdk

c. Go to ~/jdk11-adoptopenjdk folder and install it

$ cd ~/jdk11-adoptopenjdk $ makepkg -si

3. Information about the jdk11-adoptopenjdk package on Arch User Repository (AUR)