jdk-adoptopenjdk on AUR (Arch User Repository)
Last updated: November 23,2024
Deprecated! Installation of this package may no longer be supported.
1. Install "jdk-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
Copied
b. Install jdk-adoptopenjdk on Arch using YAY
$
yay -S
jdk-adoptopenjdk
Copied
* (Optional) Uninstall jdk-adoptopenjdk on Arch using YAY
$
yay -Rns
jdk-adoptopenjdk
Copied
2. Manually Install "jdk-adoptopenjdk" via AUR
a. Ensure you have the base development tools and git installed with:
$
sudo pacman -S --needed
base-devel git
Copied
b. Clone jdk-adoptopenjdk's git locally
$
git clone https://aur.archlinux.org/jdk-adoptopenjdk.git
~/jdk-adoptopenjdk
Copied
c. Go to ~/jdk-adoptopenjdk folder and install it
$
cd
~/jdk-adoptopenjdk
Copied
$
makepkg -si
Copied