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.067264
First Submitted: 2017-09-21 22:18 (UTC)
Last Updated: 2024-02-03 04:44 (UTC)

Dependencies (10)

Required by (2692)

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 .. 11 Next › Last »

severach commented on 2021-01-22 20:59 (UTC) (edited on 2021-01-22 21:00 (UTC) by severach)

@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 (UTC) (edited on 2021-01-22 08:52 (UTC) by bartus)

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 (UTC) (edited on 2021-01-22 20:52 (UTC) by severach)

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 (UTC)

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 (UTC) (edited on 2020-11-13 10:04 (UTC) by letorbi)

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 (UTC)

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 (UTC)

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

jvybihal commented on 2020-10-05 07:10 (UTC)

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.