diff --git a/build-jdk.properties b/build-jdk.properties index 2354544..d115c17 100644 --- a/build-jdk.properties +++ b/build-jdk.properties @@ -1,19 +1,19 @@ -#Oracle Java SE 8u121 binaries -#Thu, 02 Feb 2017 02:18:14 +0800 +#Oracle Java SE 8u131 binaries +#Fri, 21 Apr 2017 12:31:08 +0800 jdk.name=Oracle Java SE -jdk.version=1.8.0_121 -jdk.linux.arm32.url=http\://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jdk-8u121-linux-arm32-vfp-hflt.tar.gz -jdk.linux.arm32.sha256=134c73db663b1fb0f3d771a383dbea1a7cfeaa00e4d2872e0a6df94d242cf2f6 -jdk.linux.arm64.url=http\://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jdk-8u121-linux-arm64-vfp-hflt.tar.gz -jdk.linux.arm64.sha256=acd84c59aa0c3fa8cfb2e3c51bbd9ebf979b4ed9b5f15b343821c31af2ce3573 -jdk.linux.x86.url=http\://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jdk-8u121-linux-i586.tar.gz -jdk.linux.x86.sha256=f7d6cf1468c5e71ff097bec0189caccdd8e709a2a88a2c9849ad6200c0f33d4c -jdk.linux.x64.url=http\://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jdk-8u121-linux-x64.tar.gz -jdk.linux.x64.sha256=97e30203f1aef324a07c94d9d078f5d19bb6c50e638e4492722debca588210bc -jre.windows.x86.url=http\://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jre-8u121-windows-i586.tar.gz -jre.windows.x86.sha256=c668cdb25e5d16c8a275c73da8cb0fa142890e37f84a3b60edc56120116e6100 -jre.windows.x64.url=http\://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jre-8u121-windows-x64.tar.gz -jre.windows.x64.sha256=4b986f866777afc950e7d86f8b26399c84be1e3116875a8f44cc5946f85badbe -jre.macosx.x64.url=http\://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jre-8u121-macosx-x64.tar.gz -jre.macosx.x64.sha256=7549541f7843be5cd507bcd91c7195c5dbbe3d222d2b322568e198f2733ba4f0 +jdk.version=1.8.0_131 +jdk.linux.arm32.url=http\://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-arm32-vfp-hflt.tar.gz +jdk.linux.arm32.sha256=4d2677261715e9f0e44972517cf22ae40c69ad4dd1e4c34c88127462b13d4949 +jdk.linux.arm64.url=http\://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-arm64-vfp-hflt.tar.gz +jdk.linux.arm64.sha256=8f1d59e35cbea789219f9908d666027ab9015abd8f43999d28d21b43d84c77c2 +jdk.linux.x86.url=http\://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-i586.tar.gz +jdk.linux.x86.sha256=0069a2b1b1cddbefa45f1ff12933fca3b114b6544d536ec0e2d4861a830d7154 +jdk.linux.x64.url=http\://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz +jdk.linux.x64.sha256=62b215bdfb48bace523723cdbb2157c665e6a25429c73828a32f00e587301236 +jre.windows.x86.url=http\://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jre-8u131-windows-i586.tar.gz +jre.windows.x86.sha256=2c2bc3418f662927e8c19b2379140de84fbcb24ca70f6d47a5eac6d869f94284 +jre.windows.x64.url=http\://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jre-8u131-windows-x64.tar.gz +jre.windows.x64.sha256=89417f409d558274297ae826fb6a9d399b16a20b99923ea3d81f5b1d6b75ce7d +jre.macosx.x64.url=http\://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jre-8u131-macosx-x64.tar.gz +jre.macosx.x64.sha256=1d868f8de999de7531419b7ed54b73c47923c4f5843da0341c62ee8e4a231ea9 diff --git a/package.properties b/package.properties index 6f58a42..33e6b31 100644 --- a/package.properties +++ b/package.properties @@ -2,5 +2,5 @@ package: oracle-java title: Unofficial Java Installer product: Oracle Java SE -release: 1.8.0_121-b13 -uuid: e9e7ea248e2c4826b92b3f075a80e441 +release: 1.8.0_131-b11 +uuid: d54c1d3a095b4ff2b6607d096fa80163 diff --git a/release/get-java.ps1 b/release/get-java.ps1 index 928469c..1ef168c 100755 --- a/release/get-java.ps1 +++ b/release/get-java.ps1 @@ -1,4 +1,4 @@ -# Unofficial Java Installer for Oracle Java SE 1.8.0_121 +# Unofficial Java Installer for Oracle Java SE 1.8.0_131 $ErrorActionPreference = "Stop" @@ -9,12 +9,12 @@ $JDK_ARCH = "$ENV:PROCESSOR_ARCHITECTURE" Switch ($JDK_ARCH) { AMD64 { - $JDK_URL = "http://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jre-8u121-windows-x64.tar.gz" - $JDK_SHA256 = "4b986f866777afc950e7d86f8b26399c84be1e3116875a8f44cc5946f85badbe" + $JDK_URL = "http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jre-8u131-windows-x64.tar.gz" + $JDK_SHA256 = "89417f409d558274297ae826fb6a9d399b16a20b99923ea3d81f5b1d6b75ce7d" } x86 { - $JDK_URL = "http://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jre-8u121-windows-i586.tar.gz" - $JDK_SHA256 = "c668cdb25e5d16c8a275c73da8cb0fa142890e37f84a3b60edc56120116e6100" + $JDK_URL = "http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jre-8u131-windows-i586.tar.gz" + $JDK_SHA256 = "2c2bc3418f662927e8c19b2379140de84fbcb24ca70f6d47a5eac6d869f94284" } default { throw "CPU architecture not supported: $JDK_ARCH" @@ -33,7 +33,7 @@ if (!(test-path $JDK_TAR_GZ)) { $cookie.Value = "accept-securebackup-cookie" $cookie.Domain = "oracle.com" $session.Cookies.Add($cookie) - Invoke-WebRequest -WebSession $session -Uri $JDK_URL -OutFile $JDK_TAR_GZ + Invoke-WebRequest -UseBasicParsing -WebSession $session -Uri $JDK_URL -OutFile $JDK_TAR_GZ } diff --git a/release/get-java.sh b/release/get-java.sh index dced76b..cad7adc 100755 --- a/release/get-java.sh +++ b/release/get-java.sh @@ -1,6 +1,6 @@ #!/bin/sh -# Unofficial Java Installer for Oracle Java SE 1.8.0_121 +# Unofficial Java Installer for Oracle Java SE 1.8.0_131 # JDK version identifiers @@ -8,24 +8,24 @@ JDK_ARCH=`uname -sm` case "$JDK_ARCH" in "Linux armv7l") - JDK_URL="http://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jdk-8u121-linux-arm32-vfp-hflt.tar.gz" - JDK_SHA256="134c73db663b1fb0f3d771a383dbea1a7cfeaa00e4d2872e0a6df94d242cf2f6" + JDK_URL="http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-arm32-vfp-hflt.tar.gz" + JDK_SHA256="4d2677261715e9f0e44972517cf22ae40c69ad4dd1e4c34c88127462b13d4949" ;; - "Linux armv8") - JDK_URL="http://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jdk-8u121-linux-arm64-vfp-hflt.tar.gz" - JDK_SHA256="acd84c59aa0c3fa8cfb2e3c51bbd9ebf979b4ed9b5f15b343821c31af2ce3573" + "Linux aarch64") + JDK_URL="http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-arm64-vfp-hflt.tar.gz" + JDK_SHA256="8f1d59e35cbea789219f9908d666027ab9015abd8f43999d28d21b43d84c77c2" ;; "Linux i686") - JDK_URL="http://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jdk-8u121-linux-i586.tar.gz" - JDK_SHA256="f7d6cf1468c5e71ff097bec0189caccdd8e709a2a88a2c9849ad6200c0f33d4c" + JDK_URL="http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-i586.tar.gz" + JDK_SHA256="0069a2b1b1cddbefa45f1ff12933fca3b114b6544d536ec0e2d4861a830d7154" ;; "Linux x86_64") - JDK_URL="http://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jdk-8u121-linux-x64.tar.gz" - JDK_SHA256="97e30203f1aef324a07c94d9d078f5d19bb6c50e638e4492722debca588210bc" + JDK_URL="http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz" + JDK_SHA256="62b215bdfb48bace523723cdbb2157c665e6a25429c73828a32f00e587301236" ;; "Darwin x86_64") - JDK_URL="http://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jre-8u121-macosx-x64.tar.gz" - JDK_SHA256="7549541f7843be5cd507bcd91c7195c5dbbe3d222d2b322568e198f2733ba4f0" + JDK_URL="http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jre-8u131-macosx-x64.tar.gz" + JDK_SHA256="1d868f8de999de7531419b7ed54b73c47923c4f5843da0341c62ee8e4a231ea9" ;; *) echo "Architecture not supported: $JDK_ARCH" @@ -38,7 +38,7 @@ esac JDK_TAR_GZ=`basename $JDK_URL` if [ ! -f "$JDK_TAR_GZ" ]; then echo "Download $JDK_URL" - curl -sL -o "$JDK_TAR_GZ" --retry 5 --cookie "oraclelicense=accept-securebackup-cookie" "$JDK_URL" + curl -fsSL -o "$JDK_TAR_GZ" --retry 5 --cookie "oraclelicense=accept-securebackup-cookie" "$JDK_URL" fi diff --git a/spksrc.json b/spksrc.json index fa3daa5..dddd4cf 100644 --- a/spksrc.json +++ b/spksrc.json @@ -5,7 +5,7 @@ "packages":[ { "package":"oracle-java", - "version":"1.8.0_121", + "version":"1.8.0_131", "dname":"Unofficial Java Installer", "desc":"Unofficial Java Installer will help you install Oracle Java SE on your Synology NAS. Supported platforms include armv7l, armv8, i686 and x86_64 models. During the install, this package will download the latest Oracle Java SE Development Kit (180 MB) for your platform. This may take a while.", "maintainer":"Oracle Corporation", @@ -19,9 +19,9 @@ "thumbnail":[ "https://raw.githubusercontent.com/rednoah/java-installer/master/package/synology/images/thumb_256.png" ], - "link":"https://github.com/rednoah/java-installer/releases/download/1.8.0_121/oracle-java-1.8.0_121-noarch.spk", - "md5":"d7ae8b7f0d1b5424d0ef9810c825752b", - "sha256":"090312be836c35540d65d68760c0e5bceb598e67c8ecf18aa440bb1829d5f70a", + "link":"https://github.com/rednoah/java-installer/releases/download/1.8.0_131/oracle-java-1.8.0_131-noarch.spk", + "md5":"f25b8fdc4783a2f7ce8c9dd19f73a33f", + "sha256":"418c9d9383f9f0af43fdd44816823d6b62b9cd1c5810a43472df8873072beed8", "size":61440 } ]