openjdk18-src on AUR (Arch User Repository)

Last updated: December 24,2024

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

$ yay -S openjdk18-src

* (Optional) Uninstall openjdk18-src on Arch using YAY

$ yay -Rns openjdk18-src

2. Manually Install "openjdk18-src" via AUR

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

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

b. Clone openjdk18-src's git locally

$ git clone https://aur.archlinux.org/openjdk18-src.git ~/openjdk18-src

c. Go to ~/openjdk18-src folder and install it

$ cd ~/openjdk18-src $ makepkg -si

3. Information about the openjdk18-src package on Arch User Repository (AUR)

ID: 1165450
Name: openjdk18-src
PackageBaseID: 187161
PackageBase: java18-openjdk
Version: 18.0.2.u1-3
Description: OpenJDK Java 18 sources
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/openjdk18-src.tar.gz