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
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.72 |
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 (1708)
- 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)
- 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)
- alda-bin (requires java-runtime)
- Show 1688 more...
Sources (9)
Latest Comments
« First ‹ Previous 1 .. 12 13 14 15 16 17 18 19 20 21 22 .. 82 Next › Last »
kingcreole commented on 2017-10-03 22:23 (UTC)
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
...
Det commented on 2017-09-23 19:25 (UTC)
No, 181 is the build number.
coderkun commented on 2017-09-23 19:22 (UTC)
Shoudn’t be the version 9.u181?
Det commented on 2017-09-23 03:57 (UTC)
Done.
mirbeksm commented on 2017-09-23 02:13 (UTC) (edited on 2017-09-23 02:17 (UTC) by mirbeksm)
Comparing PKGBUILD files for "aur/jdk-docs"@9u0-2 and "aur/jdk8-docs"@8u144-1
source array: add 'LICENSE-Oracle-Legal-Notices.txt'
md5sums array: add md5sum value of 'LICENSE-Oracle-Legal-Notices.txt'
So they look like this:
source=("http://download.oracle.com/otn-pub/java/jdk/${_major}+${_build}/jdk-${_major}_doc-all.zip"
'LICENSE-Oracle-Legal-Notices.txt')
md5sums=('226081b7beb1ac91c3d5037e05522bc6'
'f7f540e6cc3ff25f0a393ece9128ee6c')
Then build succeeds.
mkoskar commented on 2017-09-22 22:07 (UTC)
==> Starting package()...
install: cannot stat 'LICENSE-Oracle-Legal-Notices.txt': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
Det commented on 2017-09-22 20:50 (UTC)
Not sure what you mean?
0 ✓ 23:49:08 ~/Downloads
$ pql jdk | grep jshell
jdk /usr/lib/jvm/java-9-jdk/bin/jshell
jdk /usr/lib/jvm/java-9-jdk/jmods/jdk.jshell.jmod
jdk /usr/share/licenses/java9-jdk/legal/jdk.jshell/
jdk /usr/share/licenses/java9-jdk/legal/jdk.jshell/COPYRIGHT
jdk /usr/share/licenses/java9-jdk/legal/jdk.jshell/LICENSE
0 ✓ 23:49:12 ~/Downloads
$ jshell
| Welcome to JShell -- Version 9
| For an introduction type: /help intro
jshell>
What's your archlinux-java status?
NyxCode commented on 2017-09-22 20:30 (UTC)
What's up with JShell? Why isn't it included in this package?
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.