jdk11-adoptopenjdk on AUR (Arch User Repository)
Last updated: November 23,2024
Deprecated! Installation of this package may no longer be supported.
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
Copied
b. Install jdk11-adoptopenjdk on Arch using YAY
$
yay -S
jdk11-adoptopenjdk
Copied
* (Optional) Uninstall jdk11-adoptopenjdk on Arch using YAY
$
yay -Rns
jdk11-adoptopenjdk
Copied
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
Copied
b. Clone jdk11-adoptopenjdk's git locally
$
git clone https://aur.archlinux.org/jdk11-adoptopenjdk.git
~/jdk11-adoptopenjdk
Copied
c. Go to ~/jdk11-adoptopenjdk folder and install it
$
cd
~/jdk11-adoptopenjdk
Copied
$
makepkg -si
Copied