jdk-lts on AUR (Arch User Repository)

Last updated: June 03,2024

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

$ yay -S jdk-lts

* (Optional) Uninstall jdk-lts on Arch using YAY

$ yay -Rns jdk-lts

2. Manually Install "jdk-lts" via AUR

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

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

b. Clone jdk-lts's git locally

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

c. Go to ~/jdk-lts folder and install it

$ cd ~/jdk-lts $ makepkg -si

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

ID: 1391898
Name: jdk-lts
PackageBaseID: 177261
PackageBase: jdk-lts
Version: 17.0.10-1
Description: Oracle Java Development Kit (LTS release)
URL: https://www.oracle.com/java/
NumVotes: 7
Popularity: 0.005097
OutOfDate:
Maintainer: dbermond
Submitter: dbermond
FirstSubmitted: 1648129461
LastModified: 1706117517
URLPath: /cgit/aur.git/snapshot/jdk-lts.tar.gz