Package Details: jdk8 8u401-1

Git Clone URL: https://aur.archlinux.org/jdk8.git (read-only, click to copy)
Package Base: jdk8
Description: Oracle Java 8 Development Kit LTS
Upstream URL: https://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
Provides: java-environment, java-environment-jdk, java-openjfx, java-runtime, java-runtime-headless, java-runtime-headless-jre, java-runtime-jre, java-web-start, java-web-start-jre
Submitter: Det
Maintainer: severach
Last Packager: severach
Votes: 105
Popularity: 0.031622
First Submitted: 2017-09-21 22:18 (UTC)
Last Updated: 2024-02-03 04:44 (UTC)

Dependencies (10)

Required by (2693)

Sources (6)

Pinned Comments

severach commented on 2019-04-17 06:47 (UTC) (edited on 2019-04-27 04:59 (UTC) by severach)

Direct downloads are no longer available. Create your Oracle account, download, and put in with the PKGBUILD.

New and improved. Now you can just download to ~/Downloads then run the update.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 Next › Last »

severach commented on 2019-04-20 20:50 (UTC)

@thunder72: Your browser authentication won't carry over to the PKGBUILD. The only way that might work is if you copy the entire link, and my link becomes irrelevant. The hash is the same for everyone. All that changes is the AuthParam.

@muhviehstarr: That link is no good. The AuthParam is only good for a half an hour.

I've considered checking ~/Downloads and changing the source if I find the file there. That would let you download in the browser then build the package without moving the file by hand. No good for non GUI installs. How many Arch gods would smite me for this?

muhviehstarr commented on 2019-04-20 19:31 (UTC)

direct download link for manual usage:

https://download.oracle.com/otn/java/jdk/8u212-b10/59066701cf1a433da9770636fbc4c9aa/jdk-8u212-linux-x64.tar.gz?AuthParam=1555788516_534602a168e2e0feec91287f1e1a28ff

thunder72 commented on 2019-04-20 19:01 (UTC)

@severach I know that I had to login on the browser and accept the license then update the package but the issue is with the link in the PKGBUILD file not related to authentication, I had edited the PKGBUILD in the process of the update but still the hash and other requirement that I couldn't fulfill

nougad commented on 2019-04-20 08:52 (UTC)

Important Oracle JDK License Update

The Oracle JDK License has changed for releases starting April 16, 2019.

The new Oracle Technology Network License Agreement for Oracle Java SE is substantially different from prior Oracle JDK licenses. The new license permits certain uses, such as personal use and development use, at no cost -- but other uses authorized under prior Oracle JDK licenses may no longer be available.

This means the direct download without a Oracle account is not available anymore. You need to download the sources manually and put next to the PKGBUILD.

nwg commented on 2019-04-19 21:32 (UTC) (edited on 2019-04-19 21:33 (UTC) by nwg)

Error downloading https://download.oracle.com/otn-pub/java/jdk/8u212-b10/59066701cf1a433da9770636fbc4c9aa/jdk-8u212-linux-x64.tar.gz (unauthorized access).

severach commented on 2019-04-19 18:19 (UTC)

Click your link from a New Private Window. /otn requires a login so won't work for the PKGBUILD.

thunder72 commented on 2019-04-19 09:21 (UTC)

in your PKGBUILD. file the link was https://download.oracle.com/otn-pub/java/jdk/8u212-b10/59066701cf1a433da9770636fbc4c9aa/jdk-8u212-linux-x64.tar.gz but the right link after accepting the license is https://download.oracle.com/otn/java/jdk/8u212-b10/59066701cf1a433da9770636fbc4c9aa/jdk-8u212-linux-x64.tar.gz

it should be /otn instead of /otn-pub

frealgagu commented on 2019-04-18 21:01 (UTC)

http://www.oracle.com/technetwork/java/javase/cpu-psu-explained-2331472.html

According to Oracle, the recommendation is precisely to download the odd packages, the even packages are not stable as the odds, they contain some non critical fixes which appears in the next odd version and should be download only if some of the fixes is absolutely necessary. Take a look to the URL.

Other thing to take into account is that from version 211/212 the oracle license has changed and is not free as the previous one. Commercial license is now put in the builds and you need to pay to use it, that's the reason why now you need to download using credentials. 201/202 were the last packages with the Binary Code License, so pay attention to it at the moment of distribute your apps built with the new licensed java.

severach commented on 2019-04-18 20:46 (UTC)

@frealgagu:

  1. I changed the jre8 url to java.com to show where I got the file. This only works for jre8. No other jre is available there. New Private Window and click through jre8 url and you will see that the download is available without a login using BundleID.

  2. Good to see that someone has found a tolerable solution to this problem. I have other packages that need this. The implementation seems a little buggy.

  3. The only way I can find to download Java files without a login is with a BundleID. Hashes are easy to find but I couldn't find the BundleID for 8u212 so I used the BundleID for 8u211 so at least one of all the Javas would download automatically. This should make jre8 very popular.

frealgagu commented on 2019-04-18 16:03 (UTC)

@severach

  1. How did you do with jre8 to download automatically?

  2. Could you add a DLAgent like oracle-sqldeveloper to print a note to user for dowload the archive indicating the URL.

  3. Why are you using the even downloads in jdk and odd downloads for jre?

http://www.oracle.com/technetwork/java/javase/cpu-psu-explained-2331472.html

Thanks in advance.