@hugegameartgd jre does not need to be removed for upgrading. Please read the pinned comment.
Search Criteria
Package Details: jdk-doc 24.0.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/jdk.git (read-only, click to copy) |
---|---|
Package Base: | jdk |
Description: | Oracle Java documentation |
Upstream URL: | https://www.oracle.com/java/ |
Licenses: | LicenseRef-custom |
Submitter: | td123 |
Maintainer: | dbermond |
Last Packager: | dbermond |
Votes: | 1087 |
Popularity: | 0.74 |
First Submitted: | 2011-08-27 17:56 (UTC) |
Last Updated: | 2025-07-23 00:28 (UTC) |
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 82 Next › Last »
dbermond commented on 2020-03-20 17:14 (UTC)
LinuxUserGD commented on 2020-03-20 14:07 (UTC)
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 (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
Pinned Comments
dbermond commented on 2024-03-19 19:54 (UTC)
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.