@caodien That's because the software was updated by upstream and the old source file is not available anymore. I've updated the package to the current upstream version and it's building fine.
Search Criteria
Package Details: jdk-doc 24.0.1-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: | 1088 |
Popularity: | 0.184367 |
First Submitted: | 2011-08-27 17:56 (UTC) |
Last Updated: | 2025-04-16 18:38 (UTC) |
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 82 Next › Last »
dbermond commented on 2020-10-22 21:45 (UTC)
caodien commented on 2020-10-22 21:22 (UTC)
I'm having similar problems to @xzu downloading the source:
curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading https://download.oracle.com/otn-pub/java/jdk/15+36/779bf45e88a44cbd9ea6621d33e33db1/jdk-15_linux-x64_bin.tar.gz
Aborting...
error downloading sources: jdk (jre jdk)
dbermond commented on 2020-09-17 20:24 (UTC)
@muncrief The source file is downloading without any problems and the package is building fine.
licensed commented on 2020-06-20 20:23 (UTC)
I had this problem to build jre and jdk. I had tried pinned comment, but not success, got same error (brokes dependencies)
so, @rafaelff gave me an suggestion to solve problem:
pacman -Rdd jre jdk
yay jre
yay jdk
dbermond commented on 2020-04-22 16:20 (UTC)
Package updated.
Det commented on 2020-04-22 14:07 (UTC) (edited on 2020-04-22 14:08 (UTC) by Det)
@xzu, ye new version, my Finnish mate (curl -fLC - --retry 3 --retry-delay 3 -b oraclelicense=a -O https://download.oracle.com/otn-pub/java/jdk/14.0.1+7/664493ef4a6946b186ff29eb326336a2/jdk-14.0.1_linux-x64_bin.tar.gz
works).
xzu commented on 2020-04-22 11:01 (UTC)
Package can't be installed since download url returns 404.
curl: (22) The requested URL returned error: 404 Not Found [130] ==> VIRHE: Tiedostoa https://download.oracle.com/otn-pub/java/jdk/14+36/076bab302c7b4508975440c56f6cc26a/jdk-14_linux-x64_bin.tar.gz ladattaessa tapahtui virhe Peruutetaan... Error downloading sources: jre
dbermond commented on 2020-03-20 17:14 (UTC)
@hugegameartgd jre does not need to be removed for upgrading. Please read the pinned comment.
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.
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.