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: 1087
Popularity: 0.90
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 .. 49 50 51 52 53 54 55 56 57 58 59 .. 81 Next › Last »

gabrielrcp commented on 2013-01-18 16:02 (UTC)

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.

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.