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.56
First Submitted: 2011-08-27 17:56
Last Updated: 2021-01-23 11:06

Packages (2)

Latest Comments

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

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!

zor1984qq commented on 2019-09-19 09:03

Yes. How to fix checksum problem? Well I just enabled editing in yay AUR wrapper and edit sha256 checksumm to 095fe9ee73bfa8d594b6bf63ae8c750144670a676ba4331ffd2d06b5ae4d5af1

to enable editing in yay: https://github.com/Jguer/yay

Yay is not asking me to edit PKGBUILDS, and I don't like the diff menu! What can I do?

yay --editmenu --nodiffmenu --save

Thats it. You can calculate sha256checksum with the same name following utility if it changes once more.

And archlinux-java status or archlinux-java get to check it. I have defaulted to 13 after package installation.

deconf commented on 2019-09-19 08:39

Please upgrade the checksum. updpkgsums

xuanruiqi commented on 2019-09-19 04:15

The checksum seems out of date?

xuanruiqi commented on 2019-09-19 04:14

The checksum seems out of date?

dbermond commented on 2019-06-16 11:58

@ForeverZer0 Yes it's possible. You need to set a directory path in the SRCDEST variable in your makepkg.conf file. All the sources downloaded by makepkg will be placed in this directory, avoiding duplicate download of sources:

https://wiki.archlinux.org/index.php/Makepkg#Package_output

https://www.archlinux.org/pacman/makepkg.conf.5.html#_options

It's also possible to specify a SCRDEST environment variable which overrides the one defined in makepkg.conf:

https://www.archlinux.org/pacman/makepkg.8.html#_environment_variables

ForeverZer0 commented on 2019-06-16 06:09

Just a quick question, was installing this and watching the log, and it appeared to be downloading "jdk-12.0.1_linux-x64_bin.tar.gz" twice, once for the jre, and the other for the jdk.

Would it be possible to re-use the same file to avoid the duplicate 181M download?

dalu commented on 2019-04-23 09:26

circular dependency

==> jdk dependencies:
 - java-environment-common (already installed)
 - jre<13 (already installed)
 - zlib (already installed)
 - hicolor-icon-theme (already installed)
 - jre>=12 (building from AUR)

however

sudo pacman -U /tmp/yaourt-tmp-darko/jre-12.0.1-1-x86_64.pkg.tar
loading packages...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing jre (12.0.1-1) breaks dependency 'jre<12' required by jdk

I see that has been answered. "Build jre normally with makepkg, then build jdk with makepkg -d, and then install both with pacman -U"

Still it's an unelegant solution and the issue re-appears every time.