Repro'd. Added a warning in .install for now, as happens even when set as default Java.
Search Criteria
Package Details: jre 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 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-jdk24, jre24-jdk, jre24-jdk-headless |
Submitter: | td123 |
Maintainer: | dbermond |
Last Packager: | dbermond |
Votes: | 1087 |
Popularity: | 0.87 |
First Submitted: | 2011-08-27 17:56 (UTC) |
Last Updated: | 2025-07-23 00:28 (UTC) |
Dependencies (14)
- ca-certificates-utils
- freetype2 (freetype2-qdoledAUR, freetype2-gitAUR, freetype2-qdoled-aw3225qfAUR, freetype2-macosAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- java-runtime-common
- libx11 (libx11-gitAUR)
- libxext (libxext-gitAUR)
- libxi (libxi-gitAUR)
- libxrender
- libxtst
- zlib (zlib-gitAUR, zlib-ng-compat-gitAUR, zlib-ng-compat)
- alsa-lib (make)
- python-html2text (make)
- alsa-lib (optional) – for basic sound support
- 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 (1712)
- 2009scape (requires java-runtime)
- 2009scape-git (requires java-runtime)
- 2p-kt (requires java-runtime)
- ab-download-manager-bin (requires java-runtime)
- abchr (requires java-runtime)
- abcl-git (requires java-runtime)
- abdownloadmanager-bin (requires java-runtime)
- acodec-bin (requires java-runtime)
- acronis-cyber-protect-bin (requires java-runtime)
- activemq (requires java-runtime)
- aesir-launcher (requires java-runtime)
- ahformatter (requires java-runtime) (optional)
- ahmyth-bin (requires java-runtime)
- aio-remote (requires java-runtime)
- airsonic (requires java-runtime-headless)
- airsonic-advanced-bin (requires java-runtime-headless)
- airsonic-advanced-git (requires java-runtime-headless)
- aladin (requires java-runtime)
- alchemist (requires java-runtime)
- alda (requires java-runtime)
- Show 1692 more...
Sources (9)
Latest Comments
« First ‹ Previous 1 .. 11 12 13 14 15 16 17 18 19 20 21 .. 82 Next › Last »
Det commented on 2017-11-05 00:33 (UTC)
Det commented on 2017-11-03 12:23 (UTC)
Kind of a tough one to fix when I don't have no power over what archlinux-java does to the /usr/lib/mozilla/plugins/ symlink. It's a separate package for OpenJDK (icedtea-web).
Does it not crash with icedtea-web and OpenJDK? Is this not just Manjaro-specific?
ivanruvalcaba commented on 2017-11-03 03:59 (UTC)
Hi!
There is an issue with your package and qt5-webkit, see below:
https://github.com/zealdocs/zeal/issues/802#issuecomment-340547528
https://bbs.archlinux.org/viewtopic.php?id=231222
This fix the issue:
https://github.com/zealdocs/zeal/issues/802#issuecomment-340677973
Best regards.
bouni commented on 2017-10-17 19:26 (UTC)
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
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.
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.