Not updating. Getting error for both jdk and jre :
Installing jre (12-1) breaks dependency 'jre<12' required by jdk.
Git Clone URL: | https://aur.archlinux.org/jdk.git (read-only, click to copy) |
---|---|
Package Base: | jdk |
Description: | Oracle Java Development Kit |
Upstream URL: | https://www.oracle.com/java/ |
Licenses: | LicenseRef-custom |
Conflicts: | jre |
Provides: | java-environment, java-environment-jdk, java-runtime, java-runtime-headless, java-runtime-headless-jdk, java-runtime-jdk24, jdk24-jdk, jre, jre24-jdk, jre24-jdk-headless |
Submitter: | td123 |
Maintainer: | dbermond |
Last Packager: | dbermond |
Votes: | 1088 |
Popularity: | 0.20 |
First Submitted: | 2011-08-27 17:56 (UTC) |
Last Updated: | 2025-04-16 18:38 (UTC) |
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 82 Next › Last »
Not updating. Getting error for both jdk and jre :
Installing jre (12-1) breaks dependency 'jre<12' required by jdk.
@philad Please see the answer at jre aur page.
Upgrading JDK brings me to the following problem. When trying to install JRE he tells me that the current JDK requires JDK<12 while installing JDK the answer is that JRE must be JRE>=12.
Fehler: Konnte den Vorgang nicht vorbereiten (Kann Abhängigkeiten nicht erfüllen) :: Installation vonjre (12-1) verletzt Abhängigkeit 'jre<12', benötigt von jdk :: Erstelle jdk-Paket(e)... ==> Erstelle Paket: jdk 12-1 (Mo 01 Apr 2019 09:17:44 CEST) ==> Prüfe Laufzeit-Abhängigkeiten... ==> Installiere fehlende Abhängigkeiten... Fehler: Ziel nicht gefunden: jre>=12 ==> FEHLER: 'pacman' konnte fehlende Abhängigkeiten nicht installieren. :: Konnte jdk-Paket(e) nicht erstellen
@archer_linux Build jre normally with makepkg, then build jdk with makepkg -d, and then install both with pacman -U. Or you can build each one in a chroot and then install both with pacman -U.
Hello, I can't update my Java Packages. I guess the fault is that both jre and jdk are linked to the exact same source. Can anybody confirm this?
Regards, Thorsten
I'm trying to use this version with the latest SQLDeveloper, but it doesn't seem to work?
Error: /usr/lib/jvm/default/bin/java not found or not a valid JDK
x1carbon6 :: /opt/sqldeveloper » /usr/lib/jvm/default/bin/java -version java version "11.0.2" 2019-01-15 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
Nice homepage.
Just a reminder, tomorrow JDK 12 will be released. Thanks for your effort.
https://aur.archlinux.org/cgit/aur.git/commit/?h=jdk&id=a19ae6a2f602
This change added depends of jre.
I get file conflicts when yaourt try to install jre as depend:
....
jre: /usr/lib/jvm/java-11-jdk/lib/server/libjvm.so exists in filesystem (owned by jdk)
jre: /usr/lib/jvm/java-11-jdk/lib/tzdb.dat exists in filesystem (owned by jdk)
jre: /usr/lib/jvm/java-11-jdk/release exists in filesystem (owned by jdk)
....
and many other files
UPD: problem was fixed by reinstalling jdk.
Hello PFM. You can edit the PKGBUILD and change the download URL by yourself with the following link : https://download.oracle.com/otn-pub/java/jdk/11.0.2+9/f51449fcd52f4d52b93a989c5c56ed3c/jdk-11.0.2_solaris-sparcv9_bin.tar.gz
don't forget to change to change sha256sums also 52b7f4298af04bc3079b73c071b85db87a4509ea6110b752e941b5cb360ef181 :)
AND change pkgver=11.0.1 to 11.0.2
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.