Package Base Details: jdk

Git Clone URL: https://aur.archlinux.org/jdk.git (read-only, click to copy)
Submitter: td123
Maintainer: dbermond
Last Packager: dbermond
Votes: 1096
Popularity: 0.76
First Submitted: 2011-08-27 17:56
Last Updated: 2022-01-20 15:19

Packages (3)

Latest Comments

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

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

zrhoffman commented on 2019-09-19 15:04

jdk-13_linux-x64_bin.tar.gz has a SHA-256 of 095fe9ee73bfa8d594b6bf63ae8c750144670a676ba4331ffd2d06b5ae4d5af1.

[zrhoffman@computer jre]$ makepkg
==> Making package: jre 13-1 (Thu 19 Sep 2019 09:58:57 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found jdk-13_linux-x64_bin.tar.gz
==> Validating source files with sha256sums...
    jdk-13_linux-x64_bin.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!