Package Base Details: jdk

Git Clone URL: https://aur.archlinux.org/jdk.git (read-only, click to copy)
Keywords: java-environment java-environment-jdk java-runtime java-runtime-jdk
Submitter: td123
Maintainer: dbermond
Last Packager: dbermond
Votes: 1084
Popularity: 1.84
First Submitted: 2011-08-27 17:56
Last Updated: 2020-10-22 21:43

Packages (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 ... Next › Last »

dbermond commented on 2020-03-20 17:14

@hugegameartgd jre does not need to be removed for upgrading. Please read the pinned comment.

hugegameartgd commented on 2020-03-20 14:07

jdk needs to be removed and installed again when upgrading because of jre<14 and jre>=15 dependency of jdk.

yodaembedding commented on 2019-10-12 13:31

Here's a oneliner for those who have trouble installing:

mkdir -p /tmp/btw-i-use-jdk && cd /tmp/btw-i-use-jdk && git clone 'https://aur.archlinux.org/jre.git' && git clone 'https://aur.archlinux.org/jdk.git' && cd jre && makepkg && cd ../jdk && makepkg -d && cd .. && sudo pacman -U jre/jre-*.pkg* jdk/jdk-*.pkg*

cuevaskoch commented on 2019-09-27 18:03

Here's the script I used for updating this on my various workstations, in case it helps anybody else.

#!/bin/bash
​
YAY_CACHE=$HOME/.cache/yay
​
cd $YAY_CACHE/jre
git latest
makepkg
​
cd $YAY_CACHE/jdk
git latest
makepkg -d
​
cd $YAY_CACHE
sudo pacman -U ./jdk/jdk-13-2-x86_64.pkg.tar.xz ./jre/jre-13-2-x86_64.pkg.tar.xz

MrArgoNavis commented on 2019-09-22 05:59

I think that there shouldn't be that kind of version constraint.

With every single install, I am forced to uninstall previous version of Java 8+ (such as Java 10, 11, 12...) but as far as I can tell, Arch is perfectly capable of handling multiple versions of Java in parallel.

dbermond commented on 2019-09-20 17:16

@Trja17 Please see pinned comment on package jre.

Trja17 commented on 2019-09-20 15:35

Could not satisfy dependencies: installing jre (13-2) breaks dependency 'jre<13' required by jdk

dbermond commented on 2019-09-19 20:28

@xuanruiqi @deconf Upstream changed the source file without notice. Checksum of the current source file is now updated.

dbermond commented on 2019-09-19 20:27

@xuanruiqi @zor1984qq @cytodev @zrhoffman Upstream changed the source file without notice. Checksum of the current source file is now updated.

cytodev commented on 2019-09-19 18:01

Heads up to everyone trying to upgrade the package; the PKGBUILD contains an invalid SHA256 checksum. The correct one can be found here: https://www.oracle.com/webfolder/s/digest/13checksum.html