Package Details: jdk 12.0.2-1

Git Clone URL: (read-only)
Package Base: jdk
Description: Oracle Java Development Kit
Upstream URL:
Keywords: java-environment java-environment-jdk
Licenses: custom
Provides: java-environment=12, java-environment-jdk=12
Submitter: td123
Maintainer: dbermond
Last Packager: dbermond
Votes: 799
Popularity: 2.219206
First Submitted: 2011-08-27 17:56
Last Updated: 2019-07-20 00:16

Required by (792)

Sources (6)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

dbermond commented on 2019-06-16 11:58

@ForeverZer0 Yes it's possible. You need to set a directory path in the SRCDEST variable in your makepkg.conf file. All the sources downloaded by makepkg will be placed in this directory, avoiding duplicate download of sources:

It's also possible to specify a SCRDEST environment variable which overrides the one defined in makepkg.conf:

ForeverZer0 commented on 2019-06-16 06:09

Just a quick question, was installing this and watching the log, and it appeared to be downloading "jdk-12.0.1_linux-x64_bin.tar.gz" twice, once for the jre, and the other for the jdk.

Would it be possible to re-use the same file to avoid the duplicate 181M download?

dalu commented on 2019-04-23 09:26

circular dependency

==> jdk dependencies:
 - java-environment-common (already installed)
 - jre<13 (already installed)
 - zlib (already installed)
 - hicolor-icon-theme (already installed)
 - jre>=12 (building from AUR)


sudo pacman -U /tmp/yaourt-tmp-darko/jre-12.0.1-1-x86_64.pkg.tar
loading packages...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing jre (12.0.1-1) breaks dependency 'jre<12' required by jdk

I see that has been answered. "Build jre normally with makepkg, then build jdk with makepkg -d, and then install both with pacman -U"

Still it's an unelegant solution and the issue re-appears every time.

jeroenr commented on 2019-04-23 09:18

Is everybody aware that the Oracle version of the JDK/JRE can not be used for free in a server environment? See For a free to use version, should be used.

Quote: "For what uses is Oracle Java SE, including Java 8 updates, free? For full information and terms, refer to the OTN License Agreement for Java SE. The OTN License Agreement for Java SE for current Oracle Java SE releases allows them to be used, without cost: (i) For personal use on a desktop or laptop computer, such as to play games or run other personal applications. (ii) For development, testing, prototyping, and demonstrating applications, including to use by/with profilers, debuggers, and Integrated Development Environment tools. (iii) For use with some approved products, such as Oracle SQL Developer, or as an end user of a software application created by an approved product. (referred to as “Schedule A” and “Schedule B” Products in the OTN License Agreement for Java SE) (iv) With identified Oracle Cloud Infrastructure products."

And: "Where can I get the latest releases of Java SE at no cost on or after April 16, 2019? Oracle provides the latest Java releases, made available in March and September each year, including quarterly performance, stability and security updates (in January, April, July and October) under an open source license at Also, Oracle provides updates; including Java 8, Java 11, and Java 12 of Oracle Java SE under the OTN License Agreement for Java SE at OTN. "

dbermond commented on 2019-04-19 15:35

@eientei95 package updated.

dbermond commented on 2019-04-19 15:35

@eientei95 package updated.

eientei95 commented on 2019-04-16 20:15

Getting a 404 for, redirects to "In order to download products from Oracle Technology Network you must agree to the OTN license terms."

They check for the s_sq cookie that's set via JS

dbermond commented on 2019-04-02 23:37

@philad Please see the answer at jre aur page.

philad commented on 2019-04-01 07:40

Upgrading JDK brings me to the following problem. When trying to install JRE he tells me that the current JDK requires JDK<12 while installing JDK the answer is that JRE must be JRE>=12.

Fehler: Konnte den Vorgang nicht vorbereiten (Kann Abhängigkeiten nicht erfüllen) :: Installation vonjre (12-1) verletzt Abhängigkeit 'jre<12', benötigt von jdk :: Erstelle jdk-Paket(e)... ==> Erstelle Paket: jdk 12-1 (Mo 01 Apr 2019 09:17:44 CEST) ==> Prüfe Laufzeit-Abhängigkeiten... ==> Installiere fehlende Abhängigkeiten... Fehler: Ziel nicht gefunden: jre>=12 ==> FEHLER: 'pacman' konnte fehlende Abhängigkeiten nicht installieren. :: Konnte jdk-Paket(e) nicht erstellen

lordchaos commented on 2019-03-26 14:11

I'm trying to use this version with the latest SQLDeveloper, but it doesn't seem to work?

Error: /usr/lib/jvm/default/bin/java not found or not a valid JDK

x1carbon6 :: /opt/sqldeveloper » /usr/lib/jvm/default/bin/java -version java version "11.0.2" 2019-01-15 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)