Package Details: jdk8 8u281-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: 89
Popularity: 0.97
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

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

severach commented on 2021-01-22 20:59

@bartus The URL is valid. Look down the page and jdk8 is there. Oracle is constantly reworking the site and deep links often go bad. I try to use links that don't go bad very often. I keep the Upstream URL maintained. That's what I use to look for updates.

bartus commented on 2021-01-22 08:52

Would be nice to gave more specific url in readme.sh current one points to jdk:15 redme.sh.diff

 echo 'Please visit'
-echo '  https://www.oracle.com/technetwork/java/javase/downloads/'
+echo '  https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html'
 echo '  Java SE ... JDK, Download v'

severach commented on 2021-01-22 02:55

It's a struggle to find a time when Oracle SSO is working. To get the file I logged in to the error then used a deep link. Unbound variable RED is due to set -u and calling msg when makepkg --nocolor is active. I tried makepkg -m and it worked fine.

@letorbi Notice that modifying the if : already does what the patch does. I get reports that the original links work, but if I switch back to them I get a report within a few days that the links don't work.

Ketchup901 commented on 2020-11-27 17:04

syntax error at (eval 1) line 1, near "."
/usr/share/makepkg/util/message.sh: line 84: RED: unbound variable
:: failed to build jdk8 package(s)

What is this?

letorbi commented on 2020-11-13 10:03

The package can be installed without login or manual download, if you just remove a few lines from the PKBUILD. See the following patch for details:

--- PKGBUILD    2020-11-11 06:17:01.000000000 +0100
+++ PKGBUILD    2020-11-13 10:40:25.463899185 +0100
@@ -72,28 +72,6 @@
   "policytool-${_jname}.desktop"
   'readme.sh'
 )
-# from oracle-sqldeveloper
-if :; then
-DLAGENTS+=("manual::${startdir:-}/readme.sh %o %u")
-source[0]="manual://${_srcfil}"
-if [ ! -z "${HOME:-}" ]; then # block mksrcinfo
-  XDG_DOWNLOAD_DIR="$(xdg-user-dir DOWNLOAD 2>/dev/null)" || :
-  if [ -z "${XDG_DOWNLOAD_DIR}" ]; then
-    XDG_DOWNLOAD_DIR=~/'Downloads'
-  fi
-  if [ -s "${XDG_DOWNLOAD_DIR}/${_srcfil}" ] && [ ! -e "${_srcfil}" ]; then
-    if type msg > /dev/null 2>&1; then
-      set +u
-      msg "Scooping files from ${XDG_DOWNLOAD_DIR}" 1>&2
-      msg2 "${_srcfil}" 1>&2
-      set -u
-      ln -sr "${XDG_DOWNLOAD_DIR}/${_srcfil}"
-    fi
-  fi
-fi
-unset _srcfil
-unset XDG_DOWNLOAD_DIR
-fi

 md5sums=('bd8dc95a810b095996acf5f5b0dd2a69'
          '8a66f50efdc867ffd6a27168bc93b210'

ToastedToast commented on 2020-10-25 03:59

8u271 patch:

--- PKGBUILD    2020-10-24 22:54:54.786889790 -0500
+++ PKGBUILD    2020-10-24 22:45:35.689640435 -0500
@@ -10,7 +10,8 @@
 #_minor='231'; _build='b11'; _hash='5b13a193868b4bf28bcb45c792fce896'
 #_minor='241'; _build='b07'; _hash='1f5b5a70bf22433b84d0e960903adac8'
 #_minor='251'; _build='b08'; _hash='3d5a2bb8f8d4428bbe94aed7ec7ae784'
-_minor='261'; _build='b12'; _hash='a4634525489241b9a9e1aa73d9e118e6'
+#_minor='261'; _build='b12'; _hash='a4634525489241b9a9e1aa73d9e118e6'
+_minor='271'; _build='b09'; _hash='bd8dc95a810b095996acf5f5b0dd2a69'
 pkgver="${_major}u${_minor}"
 pkgrel='1'
 pkgdesc="Oracle Java ${_major} Development Kit"
@@ -94,13 +95,13 @@
 unset XDG_DOWNLOAD_DIR
 fi

-md5sums=('1522f0c6380fa4993e932eb0c6006ef1'
+md5sums=('bd8dc95a810b095996acf5f5b0dd2a69'
          '8a66f50efdc867ffd6a27168bc93b210'
          '1cbde70639abd98db4bace284dbf2bc4'
          'f0b39865361437f3778ecbe6ffbc0a06'
          '89704501aff8efe859c31968d8d168e6'
          '51c8839211cc53f09c9b11a8e28ed1ef')
-sha256sums=('5a04e01a091f6b1ed9c0b801be4fd10689af07eeb9e27f012c9aa3af9948ea34'
+sha256sums=('eba7926a683bb65c6f4e1c502ce624346c42b00fb5531deba296f2560b452c78'
             '65282603bd0804d162f3f7da47bc7f3c91373e87504297d6a6fd6f2f8a1ec4ee'
             '8f865b52946a9ab98556c56306c7e70ae7aa432b4d005c70df0bba9d2c3111b1'
             '144e6651fcea08d95f3148d3a8ad17deb93fec4dd9236d37d27d7c648230b870'
@@ -250,3 +251,4 @@
   set +u
 }
 set +u
+ 

ToastedToast commented on 2020-10-22 23:58

Flagged as Out-Of-Date (JDK 8u271 is out now)

jvybihal commented on 2020-10-05 07:10

Please, everyone, do not flag this package out-of-date when you are not even able to read. The instructions are are VERY clear. The "error" message tells you EXACTLY what to do. If you don't like it, use the openjdk or got scream at oracle. Just don't flag the package please, use your brain and eyes. Thanks.

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?