Package Details: jdk 9.0.1-1

Git Clone URL: https://aur.archlinux.org/jdk.git (read-only)
Package Base: jdk
Description: Oracle Java Development Kit
Upstream URL: http://www.oracle.com/technetwork/java/javase/downloads/index.html
Keywords: java-environment-jdk java-openjfx java-runtime-headless-jre java-runtime-jre java-web-start-jre
Licenses: custom:Oracle
Conflicts: java-environment-jdk=9, java-runtime-jre=9
Provides: java-environment=9, java-environment-jdk=9, java-openjfx=9, java-runtime=9, java-runtime-headless=9, java-runtime-headless-jre=9, java-runtime-jre=9, java-web-start=9, java-web-start-jre=9
Submitter: td123
Maintainer: Det
Last Packager: Det
Votes: 770
Popularity: 4.080062
First Submitted: 2011-08-27 17:56
Last Updated: 2017-10-17 21:06

Dependencies (9)

Required by (1000)

Sources (5)

Latest Comments

Det commented on 2017-10-07 13:30

'xed.

raqua commented on 2017-10-06 22:00


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

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

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

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

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

$ 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

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

Det commented on 2017-09-23 19:25

No, 181 is the build number.

coderkun commented on 2017-09-23 19:22

Shoudn’t be the version 9.u181?

All comments