Seems that the URL is no longer valid:
curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading http://download.oracle.com/otn-pub/java/jdk/9+181/jre-9_linux-x64_bin.tar.gz
Aborting...
==> ERROR: Makepkg was unable to build jre
I tried to change the vars that build the URL in the pkgbuid but it still fails on a later point.
The current URl is:
http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz
Search Criteria
Package Details: jdk 23.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 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-jdk23, jdk23-jdk, jre, jre23-jdk, jre23-jdk-headless |
Submitter: | td123 |
Maintainer: | dbermond |
Last Packager: | dbermond |
Votes: | 1086 |
Popularity: | 0.124319 |
First Submitted: | 2011-08-27 17:56 (UTC) |
Last Updated: | 2024-11-16 14:08 (UTC) |
Dependencies (15)
- ca-certificates-utils
- freetype2 (freetype2-qdoledAUR, freetype2-macosAUR, freetype2-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- java-environment-common
- java-runtime-common
- libx11 (libx11-gitAUR)
- libxext (libxext-gitAUR)
- libxi (libxi-gitAUR)
- libxrender
- libxtst
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- python-html2text (make)
- alsa-lib (optional) – for basic sound support
- gtk2 (gtk2-maemoAUR, gtk2-patched-filechooser-icon-viewAUR) (optional) – for the Gtk+ 2 look and feel - desktop usage
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR) (optional) – for the Gtk+ 3 look and feel - desktop usage
Required by (2651)
- 2009scape (requires java-runtime)
- 2009scape-git (requires java-runtime)
- 2p-kt (requires java-runtime)
- 2plan-desktop (requires java-environment)
- 389-console (requires java-environment)
- 389-ds-console (requires java-environment) (make)
- aacskeys (requires java-environment) (make)
- ab-download-manager (requires java-environment) (make)
- ab-download-manager-git (requires java-environment) (make)
- abchr (requires java-runtime)
- abcl (requires java-environment)
- abcl-git (requires java-environment) (make)
- abcl-git (requires java-runtime)
- abdownloadmanager-bin (requires java-runtime)
- access-export (requires java-environment)
- acodec-bin (requires java-runtime)
- acronis-cyber-protect-bin (requires java-runtime)
- activemq (requires java-runtime)
- aechoterm-bin (requires java-runtime)
- aeron (requires java-environment)
- Show 2631 more...
Sources (9)
Latest Comments
« First ‹ Previous 1 .. 11 12 13 14 15 16 17 18 19 20 21 .. 81 Next › Last »
bouni commented on 2017-10-17 19:26 (UTC)
Det commented on 2017-10-07 13:30 (UTC)
'xed.
Vico commented on 2017-10-07 01:58 (UTC)
Bug in script: "# Link missing icons", debug output:
-> i: lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol-jre9.png
-> ln -s sun-jcontrol-jre9.png lib/desktop/icons/hicolor/48x48/apps/sun-java-jre9.png
-> ln -s sun-jcontrol-jre9.png lib/desktop/icons/hicolor/48x48/apps/sun-javaws-jre9.png
-> i: lib/desktop/icons/hicolor/48x48/mimetypes/gnome-mime-application-x-java-jnlp-file-jre9.png
-> ln -s sun-jcontrol-jre9.png lib/desktop/icons/hicolor/48x48/mimetypes/gnome-mime-application-x-java-jnlp-file-jre9.png
ln: failed to create symbolic link 'lib/desktop/icons/hicolor/48x48/mimetypes/gnome-mime-application-x-java-jnlp-file-jre9.png': File exists
raqua commented on 2017-10-06 22:00 (UTC)
Fixed it with this quick and dirty fix:
<SNIP>
msg2 "Fixing directory structure..."
# Suffix .desktops + icon (sun-jcontrol.png -> sun-jcontrol-$_jname.png)
for i in $(find lib/desktop/ -type f); do
echo $i
rename -- "." "-$_jname." $i
done
rm -f lib/desktop/icons/hicolor/48x48/mimetypes/*
rm -f lib/desktop/icons/hicolor/16x16/mimetypes/*
# Link missing icons
for i in $(find lib/desktop/icons/ -name "*-$_jname.png" -type f); do
echo "sun-jcontrol-$_jname.png -> ${i/jcontrol/java}"
ln -s "sun-jcontrol-$_jname.png" "${i/jcontrol/java}"
echo "sun-jcontrol-$_jname.png -> ${i/jcontrol/javaws}"
ln -s "sun-jcontrol-$_jname.png" "${i/jcontrol/javaws}"
done
<SNIP>
There are existing files which the script tries to recreate by symlinking.
raqua commented on 2017-10-06 21:58 (UTC)
Building and installing package
==> Making package: jdk 9u0-1 (Fri Oct 6 23:56:02 CEST 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading jdk-9_linux-x64_bin.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 465 100 465 0 0 465 0 0:00:01 --:--:-- 0:00:01 2447
100 330M 100 330M 0 0 11.7M 0 0:00:28 0:00:28 --:--:-- 9092k
-> Found jconsole-jdk9.desktop
-> Found jmc-jdk9.desktop
-> Found jvisualvm-jdk9.desktop
-> Found policytool-jdk9.desktop
==> Validating source files with sha256sums...
jdk-9_linux-x64_bin.tar.gz ... Passed
jconsole-jdk9.desktop ... Passed
jmc-jdk9.desktop ... Passed
jvisualvm-jdk9.desktop ... Passed
policytool-jdk9.desktop ... Passed
==> Extracting sources...
-> Extracting jdk-9_linux-x64_bin.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
-> Creating directory structure...
-> Removing redundancies...
-> Moving contents...
-> Fixing directory structure...
ln: failed to create symbolic link 'lib/desktop/icons/hicolor/48x48/mimetypes/gnome-mime-application-x-java-jnlp-file-jdk9.png': File exists
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build jdk.
==> Restart building jdk ? [y/N]
==> ----------------------------
==>
It fails during image creation with file conflicts. Probably source changed?
sl1pkn07 commented on 2017-10-06 17:03 (UTC)
seems sun-java-jdk9.desktop and sun-javaws-jdk9.desktop have missing icon files
https://sl1pkn07.wtf/paste/view/raw/bd5786c7
greetings
Det commented on 2017-10-03 22:39 (UTC) (edited on 2017-10-03 22:39 (UTC) by Det)
The two started conflicting for sharing the same major version. I added the conflicts=(), but you'll have to manually rebuild (remove) either one.
kingcreole commented on 2017-10-03 22:23 (UTC)
hey, since upgrading to jdk 9 i get tons of those errors: file owned by 'jre' and 'jre-devel': 'usr/share/mime/packages/x-java-jnlp-file-jre9.xml'
whenever i try to install or update anything from aur that uses Java in some way. what should i do? Android, Skype, the prusa slicer, enigmail, gitkraken, everything is unable to install or upgrade
Det commented on 2017-09-25 05:28 (UTC) (edited on 2017-09-25 05:29 (UTC) by Det)
$ pacman -Qo /etc/java-jdk9/fontconfig.properties.src /etc/java-jdk9/logging.properties ....
Override with pacman -U --force.
tsdh commented on 2017-09-25 05:08 (UTC)
I can't install (or rather update) the package.
==> Finished making: jdk 9u0-1 (Mon Sep 25 07:04:59 CEST 2017)
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (1) jdk-9u0-1
Total Installed Size: 542.17 MiB
Net Upgrade Size: 184.84 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
jdk: /etc/java-jdk9/fontconfig.properties.src exists in filesystem
jdk: /etc/java-jdk9/logging.properties exists in filesystem
jdk: /etc/java-jdk9/management/jmxremote.access exists in filesystem
jdk: /etc/java-jdk9/management/jmxremote.password.template exists in filesystem
jdk: /etc/java-jdk9/management/management.properties exists in filesystem
jdk: /etc/java-jdk9/management/snmp.acl.template exists in filesystem
jdk: /etc/java-jdk9/net.properties exists in filesystem
jdk: /etc/java-jdk9/psfont.properties.ja exists in filesystem
...
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.