You can do
$ pacman -Rdd jre
and afterward install jdk.
This will uninstall jre ignoring all dependencies. This is not normally recommended but in this case it will be fine, since jdk will provide java-runtime.
Search Criteria
Package Details: jre 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 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-jdk23, jre23-jdk, jre23-jdk-headless |
Submitter: | td123 |
Maintainer: | dbermond |
Last Packager: | dbermond |
Votes: | 1087 |
Popularity: | 0.87 |
First Submitted: | 2011-08-27 17:56 (UTC) |
Last Updated: | 2024-11-16 14:08 (UTC) |
Dependencies (12)
- ca-certificates-utils
- freetype2 (freetype2-qdoledAUR, freetype2-macosAUR, freetype2-gitAUR)
- java-runtime-common
- libx11 (libx11-gitAUR)
- libxext (libxext-gitAUR)
- libxi (libxi-gitAUR)
- libxrender
- libxtst
- 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 (1732)
- 2009scape (requires java-runtime)
- 2009scape-git (requires java-runtime)
- 2p-kt (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)
- aechoterm-bin (requires java-runtime)
- 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)
- airsonic-git (requires java-runtime-headless)
- aladin (requires java-runtime)
- alchemist (requires java-runtime)
- alda (requires java-runtime)
- alda-bin (requires java-runtime)
- Show 1712 more...
Sources (9)
Latest Comments
« First ‹ Previous 1 .. 49 50 51 52 53 54 55 56 57 58 59 .. 81 Next › Last »
gabrielrcp commented on 2013-01-18 16:02 (UTC)
darose commented on 2013-01-18 15:39 (UTC)
I can't figure out how to upgrade this package!
I previously had jdk and jre installed. I just upgraded jre. Now I'm trying to upgrade jdk.
[darose@daroselin jdk]$ sudo pacman -U jdk-7.11-1-x86_64.pkg.tar
loading packages...
resolving dependencies...
looking for inter-conflicts...
:: jdk and jre are in conflict (java-runtime). Remove jre? [y/N] y
Targets (2): jre-7.11-1 [removal] jdk-7.11-1
Total Installed Size: 224.27 MiB
Net Upgrade Size: 8.17 MiB
Proceed with installation? [Y/n]
OK, so it tells me there's a conflict, and that now jdk supercedes jre. Fine.
Proceed with installation? [Y/n] y
(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: /usr/share/licenses/jdk/COPYRIGHT exists in filesystem
jdk: /usr/share/licenses/jdk/LICENSE exists in filesystem
jdk: /usr/share/licenses/jdk/THIRDPARTYLICENSEREADME-JAVAFX.txt exists in filesystem
jdk: /usr/share/licenses/jdk/THIRDPARTYLICENSEREADME.txt exists in filesystem
Errors occurred, no packages were upgraded.
No good. Maybe I can just uninstall jre first?
[darose@daroselin jdk]$ sudo pacman -R jre
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: android-sdk: requires java-runtime
:: antlr2: requires java-runtime
:: ec2-api-tools: requires java-runtime
:: eclipse-wtp: requires java-runtime>=5
:: frostwire: requires java-runtime
:: javacc: requires java-runtime
:: jdk: requires jre
:: junit: requires java-runtime-headless
:: proguard: requires java-runtime
:: swt: requires java-runtime>=6
Nope. So then maybe I can uninstall jdk, and then re-install?
[darose@daroselin jdk]$ sudo pacman -R jdk
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: antlr3: requires java-environment
:: apache-ant: requires java-environment
:: eclipse: requires java-environment
:: eclipse-android: requires java-environment>=6
:: tokyocabinet-java: requires java-environment
Again nope!
How can I do this upgrade?!?!?!?!?
Det commented on 2013-01-15 14:12 (UTC)
@ryenus, because as I said ages ago I grew tired of waiting for two minutes for it to compress.
ryenus commented on 2013-01-15 14:10 (UTC)
why having `PKGEXT=".pkg.tar"`?
$ ll ~/.cache/aur/jdk-7.11-1-i686.*
... 225M ... .cache/aur/jdk-7.11-1-i686.pkg.tar
... 68M ... .cache/aur/jdk-7.11-1-i686.pkg.tar.xz
Having zipped packages would save much space for all cached packages.
kkl2401 commented on 2013-01-14 07:24 (UTC)
Version bump.
Det commented on 2013-01-04 19:44 (UTC)
Well of course when you say things in the past you can mention any mistake you like!
dapolinario commented on 2013-01-04 19:37 (UTC)
When makepkg is finishing the process of creation, it runs a routine that deletes empty directories, so the directory /etc/.java is erased. I do not know a solution.
Det commented on 2012-12-23 08:34 (UTC)
[x] Comment by a user who decided it was best to avoid the humiliation || 2012-12-23 05:03
> Why do PKGBUILD misses provides=('java-runtime=7')?
You must be a detective and everything.
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.