From 55c5a8bab6e8030f05895fbcdf669f4d48bee6c2 Mon Sep 17 00:00:00 2001 From: Michael Ford Date: Sat, 30 Jul 2016 08:51:20 +0800 Subject: [PATCH] Java Beta 1.8.0_112-b04 --- Casks/java-beta.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Casks/java-beta.rb b/Casks/java-beta.rb index 6c829471e..2f17199c3 100644 --- a/Casks/java-beta.rb +++ b/Casks/java-beta.rb @@ -1,14 +1,14 @@ cask 'java-beta' do - version '1.8.0_76-b04' - sha256 '3ef01e4bb28f70d91611b5cbf3aabc9995ce07b2e2aa4fa92c44dcc9590dc8e0' + version '1.8.0_112-b04' + sha256 'dc14ae0b55ab4306dc3bd0547dc6fcc23b7565831fbaa4b71ccb2ac989aafdad' - url 'http://download.java.net/jdk8u76/archive/b04/binaries/jdk-8u76-ea-bin-b04-macosx-x86_64-25_jan_2016.dmg', + url 'http://download.java.net/java/jdk8u112/archive/b04/binaries/jdk-8u112-ea-bin-b04-macosx-x86_64-25_jul_2016.dmg', cookies: { 'oraclelicense' => 'accept-securebackup-cookie' } name 'Java Standard Edition Development Kit' homepage 'https://jdk8.java.net/download.html' license :gratis - pkg 'JDK 8 Update 76.pkg' + pkg 'JDK 8 Update 112.pkg' postflight do system '/usr/bin/sudo', '-E', '--', @@ -31,7 +31,7 @@ cask 'java-beta' do end end - uninstall pkgutil: 'com.oracle.jdk8u76', + uninstall pkgutil: 'com.oracle.jdk8u112', delete: [ MacOS.release <= :mavericks ? '/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK' : '', ].keep_if { |v| !v.empty? }