Package Details: jdk 23.0.1-1

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.117008
First Submitted: 2011-08-27 17:56 (UTC)
Last Updated: 2024-11-16 14:08 (UTC)

Required by (2651)

Sources (9)

Pinned Comments

dbermond commented on 2024-03-19 19:54 (UTC)

  • Important notice:

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.

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)

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.

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 ...