jdk18-openjdk on AUR (Arch User Repository)

Last updated: December 25,2024

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

$ yay -S jdk18-openjdk

* (Optional) Uninstall jdk18-openjdk on Arch using YAY

$ yay -Rns jdk18-openjdk

2. Manually Install "jdk18-openjdk" via AUR

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

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

b. Clone jdk18-openjdk's git locally

$ git clone https://aur.archlinux.org/jdk18-openjdk.git ~/jdk18-openjdk

c. Go to ~/jdk18-openjdk folder and install it

$ cd ~/jdk18-openjdk $ makepkg -si

3. Information about the jdk18-openjdk package on Arch User Repository (AUR)

ID: 1165449
Name: jdk18-openjdk
PackageBaseID: 187161
PackageBase: java18-openjdk
Version: 18.0.2.u1-3
Description: OpenJDK Java 18 development kit
URL: https://openjdk.java.net/
NumVotes: 1
Popularity: 4.7E-5
OutOfDate:
Maintainer: HLFH
Submitter: HLFH
FirstSubmitted: 1667749946
LastModified: 1667751456
URLPath: /cgit/aur.git/snapshot/jdk18-openjdk.tar.gz