Package Details: jre 23.0.1-1

Git Clone URL: https://aur.archlinux.org/jdk.git (read-only, click to copy)
Package Base: jdk
Description: Oracle Java Runtime Environment
Upstream URL: https://www.oracle.com/java/
Licenses: LicenseRef-custom
Conflicts: jdk
Provides: java-runtime, java-runtime-headless, java-runtime-headless-jdk, java-runtime-jdk23, jre23-jdk, jre23-jdk-headless
Submitter: td123
Maintainer: dbermond
Last Packager: dbermond
Votes: 1086
Popularity: 0.121833
First Submitted: 2011-08-27 17:56 (UTC)
Last Updated: 2024-11-16 14:08 (UTC)

Dependencies (12)

Required by (1730)

Sources (9)

Pinned Comments

dbermond commented on 2024-03-19 19:54 (UTC)

  • Important notice:

As was made with the java packages in the official repositories, jdk now provides the jre alongside it, and both packages conflict with each other. During the package upgrade to version 22, act accordingly to your needs. For example, if you have both jdk and jre installed, only jdk will be sufficient, as it now also contains the runtime environment, and jre can be uninstalled. If you have only jre installed, no action is required.

Latest Comments

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

yodaembedding commented on 2019-10-12 13:31 (UTC) (edited on 2020-08-23 23:33 (UTC) by yodaembedding)

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 (UTC)

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 (UTC)

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 (UTC)

@Trja17 Please see pinned comment on package jre.

Trja17 commented on 2019-09-20 15:35 (UTC)

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

dbermond commented on 2019-09-19 20:28 (UTC)

@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 (UTC)

@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 (UTC)

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