Package Details: jdk8 8u281-1

Git Clone URL: (read-only, click to copy)
Package Base: jdk8
Description: Oracle Java 8 Development Kit LTS
Upstream URL:
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: 90
Popularity: 0.94
First Submitted: 2017-09-21 22:18
Last Updated: 2021-01-22 02:28

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

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

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:

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
error downloading sources: jdk8

jSnow556 commented on 2020-07-05 22:32

I am having an issue relating to the file. This does not appear to be available from oracle anymore, I am unable to download it manually. ERROR: Failure while downloading

From Oracle's information provided here 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


Direct downloads are no longer available.

Yes they are

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

8u251 patch

diff --git a/PKGBUILD b/PKGBUILD
index 9ab109f..a5260a9 100644
@@ -7,8 +7,9 @@ _major='8'
 #_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'
 pkgdesc="Oracle Java ${_major} Development Kit"
@@ -92,14 +93,14 @@ unset _srcfil

-         '6b600690cb2ae69fc06578bc79e9e1c5'
+         'becc86d9870fe5f48ca30c520c4b7ab8'
-            '419d32677855f676076a25aed58e79432969142bbd778ff8eb57cb618c69e8cb'
+            '777a8d689e863275a647ae52cb30fd90022a3af268f34fc5b9867ce32f1b374e'

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... ... Passed

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

jconsole-jdk8.desktop ... Passed

jmc-jdk8.desktop ... Passed

jvisualvm-jdk8.desktop ... Passed

policytool-jdk8.desktop ... Passed ... Passed

==> Extracting sources...

-> Extracting 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/ 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...

FirstAirBender commented on 2020-01-15 03:49

Note the correct way to use XDG_DOWNLOAD_DIR is to simply use the output of this command xdg-user-dir DOWNLOAD

lyler commented on 2019-07-26 17:13

For those who don't use ~/Downloads as their default download folder, could the PKGBUILD be made to respect $XDG_DOWNLOAD_DIR if present?