Package Details: jdk8 8u261-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=8, java-environment-jdk=8, java-openjfx=8, java-runtime=8, java-runtime-headless=8, java-runtime-headless-jre=8, java-runtime-jre=8, java-web-start=8, java-web-start-jre=8
Submitter: Det
Maintainer: severach
Last Packager: severach
Votes: 84
Popularity: 0.48
First Submitted: 2017-09-21 22:18
Last Updated: 2020-07-23 01:18

Required by (1000)

Sources (6)

Pinned Comments

severach commented on 2019-04-17 06:47

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

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

Igneel commented on 2020-08-16 06:35

It is possible to download the jdk tarball after logging in. It seems oracle messed up their link redirection. You can use this link to download jdk 8 :[https://edelivery.oracle.com/akam/otn/java/jdk/8u261-b12/a4634525489241b9a9e1aa73d9e118e6/jdk-8u261-linux-x64.tar.gz]

You can download other jdk the same way I believe. After sign in goto download page and click download on the preferred jdk. The link will fail as of now, blame oracle. But you can check the address bar. The link will have a redirect parameter with the actual working download link. Simply remove everything from beginning upto the 'redirect=' parameter or copy and paste the redirect link and you will be able to download the jdk tar ball.

TuxTech commented on 2020-08-14 06:58

Theres an error when installing this.

==> Making package: jdk8 8u261-1 (Fri 14 Aug 2020 02:53:41 PM)
==> Retrieving sources...
-> Downloading jdk-8u261-linux-x64.tar.gz...
The source file for this package needs to be downloaded manually
since it requires a login and is not redistributable.
Please visit
https://www.oracle.com/technetwork/java/javase/downloads/
Java SE ... JDK, Download v
and download
jdk-8u261-linux-x64.tar.gz
to your Downloads folder (XDG_DOWNLOAD_DIR) or in with the PKGBUILD.

Please do not post alternate sources. They are not legal. Advertising
will get them taken down by Oracle or too much traffic. Keep it a
secret.
==> ERROR: Failure while downloading manual://jdk-8u261-linux-x64.tar.gz
Aborting...
error downloading sources: jdk8

Is there any fix?

r08 commented on 2020-07-18 16:52

For those running tiling window managers like dwm and don't have a XDG_DOWNLOAD_DIR or don't know how to set it, just put the tar.gz file in the same build directory. If anyone is having trouble downloading the new JDK8 261 update just follow the Pinned comment instruction about creating an oracle account, then download the x64 .tar.gz (or your architecture's) then from your browser Copy Download Link which will look something like this: https://download.oracle.com/otn/java/jdk/8u261-b12/a4634525489241b9a9e1aa73d9e118e6/jdk-8u261-linux-x64.tar.gz?AuthParam=1595086755_e25e5744730391bb437a6b58a2460f0c

In the direct download link you will get the version-buildID-hash right after "jdk/" in this case my direct download link looks like: -8u261- (minor) -b12- (build) -a4634525489241b9a9e1aa73d9e118e6 (hash)

Modify the PKGBUILD and add those.

shastry commented on 2020-07-17 03:29

PKGEXT can now be '.pkg.tar.zst' ?

EgidioCaprino commented on 2020-07-16 17:05

curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading https://download.oracle.com/otn-pub/java/jdk/8u251-b08/3d5a2bb8f8d4428bbe94aed7ec7ae784/jdk-8u251-linux-x64.tar.gz
    Aborting...
error downloading sources: jdk8

jSnow556 commented on 2020-07-05 22:32

I am having an issue relating to the jce_policy-8.zip file. This does not appear to be available from oracle anymore, I am unable to download it manually. ERROR: Failure while downloading https://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip

From Oracle's information provided here https://www.oracle.com/java/technologies/javase-jce-all-downloads.html: The unlimited policy files for earlier releases available here are required only for JDK 8, 7, and 6 updates earlier than 8u161, 7u171, and 6u16. On those versions and later the policy files are included, but not enabled by default.

With the latest being 8u251, can we exclude these from attempting to download, or is this still required?

I am unable to install JDK8 without the JCE policy. Any assistance is appreciated.

American_Jesus commented on 2020-05-15 22:56

@severach

Direct downloads are no longer available.

Yes they are
https://download.oracle.com/otn-pub/java/jdk/8u251-b08/3d5a2bb8f8d4428bbe94aed7ec7ae784/jdk-8u251-linux-x64.tar.gz

set-l commented on 2020-04-20 03:31

8u251 patch

diff --git a/PKGBUILD b/PKGBUILD
index 9ab109f..a5260a9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,8 +7,9 @@ _major='8'
 pkgname="${_pkgname}${_major}"
 #_minor='212'; _build='b10'; _hash='59066701cf1a433da9770636fbc4c9aa'
 #_minor='221'; _build='b11'; _hash='230deb18db3e4014bb8e3e8324f81b43'
-_minor='231'; _build='b11'; _hash='5b13a193868b4bf28bcb45c792fce896'
-_minor='241'; _build='b07'; _hash='1f5b5a70bf22433b84d0e960903adac8'
+#_minor='231'; _build='b11'; _hash='5b13a193868b4bf28bcb45c792fce896'
+#_minor='241'; _build='b07'; _hash='1f5b5a70bf22433b84d0e960903adac8'
+_minor='251'; _build='b07'; _hash='becc86d9870fe5f48ca30c520c4b7ab8'
 pkgver="${_major}u${_minor}"
 pkgrel='1'
 pkgdesc="Oracle Java ${_major} Development Kit"
@@ -92,14 +93,14 @@ unset _srcfil
 unset XDG_DOWNLOAD_DIR

 md5sums=('b3c7031bc65c28c2340302065e7d00d3'
-         '6b600690cb2ae69fc06578bc79e9e1c5'
+         'becc86d9870fe5f48ca30c520c4b7ab8'
          '8a66f50efdc867ffd6a27168bc93b210'
          '1cbde70639abd98db4bace284dbf2bc4'
          'f0b39865361437f3778ecbe6ffbc0a06'
          '89704501aff8efe859c31968d8d168e6'
          '51c8839211cc53f09c9b11a8e28ed1ef')
 sha256sums=('f3020a3922efd6626c2fff45695d527f34a8020e938a49292561f18ad1320b59'
-            '419d32677855f676076a25aed58e79432969142bbd778ff8eb57cb618c69e8cb'
+            '777a8d689e863275a647ae52cb30fd90022a3af268f34fc5b9867ce32f1b374e'
             '65282603bd0804d162f3f7da47bc7f3c91373e87504297d6a6fd6f2f8a1ec4ee'
             '8f865b52946a9ab98556c56306c7e70ae7aa432b4d005c70df0bba9d2c3111b1'
             '144e6651fcea08d95f3148d3a8ad17deb93fec4dd9236d37d27d7c648230b870'

hoecake commented on 2020-02-19 07:35

does not work at all..filename is jdk-13.0.2 it's looking for 8u241...??? trying to give it the files it wants..fixing sums, and it still crash burns..changing sources[1] to tarball didn't work either

==> Validating source files with sha256sums...

jce_policy-8.zip ... Passed

jdk-8u241-linux-x64.tar.gz ... Passed

jconsole-jdk8.desktop ... Passed

jmc-jdk8.desktop ... Passed

jvisualvm-jdk8.desktop ... Passed

policytool-jdk8.desktop ... Passed

readme.sh ... Passed

==> Extracting sources...

-> Extracting jce_policy-8.zip with bsdtar

-> Extracting jdk-8u241-linux-x64.tar.gz with bsdtar

==> Removing existing $pkgdir/ directory...

==> Entering fakeroot environment...

==> Starting package()...

-> Creating directory structure...

-> Moving contents...

-> Fixing directory structure...

find: ‘jre/lib/desktop/’: No such file or directory

sed: can't read jre/lib/desktop/applications/*: No such file or directory

==> ERROR: A failure occurred in package().

/usr/share/makepkg/util/message.sh: line 47: QUIET: unbound variable

Sooo its not "the arch way", i extracted the tarball to /usr/lib/jvm/jdk-13.0.2-oracle and used "archlinux-java set jdk-13.0.2-oracle". I see the PKGBUILD has some provides i'm missing this way (ex. "java-environment-jdk=${_major}", "java-environment=${_major}"), not sure how relevant this will be, but as far as everything is concerned.."java works"

[hoecake@archbook ~]$ java --version

java 13.0.2 2020-01-14

Java(TM) SE Runtime Environment (build 13.0.2+8)

Java HotSpot(TM) 64-Bit Server VM (build 13.0.2+8, mixed mode, sharing)

[hoecake@archbook ~]$ javac --version

javac 13.0.2

superhdj commented on 2020-02-02 21:44

Presento este problema

Please do not post alternate sources. They are not legal. Advertising will get them taken down by Oracle or too much traffic. Keep it a secret. ==> ERROR: Hubo fallos durante la descarga de manual://jdk-8u241-linux-x64.tar.gz Cancelando...