chore: release JDK 7u45

This commit is contained in:
Iristyle
2014-01-03 11:56:33 -05:00
parent 0a9e410894
commit b13f5dcbf9
2 changed files with 6 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
<metadata>
<id>jdk7</id>
<title>Java Platform (JDK) 7</title>
<version>7.0.21</version>
<version>7.0.45</version>
<authors>Oracle</authors>
<owners>Ethan J Brown</owners>
<summary>Java Development Kit. Includes a complete JRE plus tools for developing, debugging, and monitoring Java applications.</summary>
@@ -16,8 +16,7 @@ http://www.oracle.com/technetwork/java/javase/downloads/index.html
<licenseUrl>http://www.oracle.com/technetwork/java/javase/terms/license/index.html</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<iconUrl>https://github.com/Iristyle/ChocolateyPackages/raw/master/JDK7/jdk7_logo.jpg</iconUrl>
<releaseNotes>http://www.oracle.com/technetwork/java/javase/7u21-relnotes-1932873.html
</releaseNotes>
<releaseNotes>http://www.oracle.com/technetwork/java/javase/7u45-relnotes-2016950.html</releaseNotes>
</metadata>
<files>
<file src="tools\**" target="tools" />

View File

@@ -1,4 +1,6 @@
$package = 'jdk7'
$build = '18'
$version = '45'
try {
$IsSytem32Bit = (($Env:PROCESSOR_ARCHITECTURE -eq 'x86') -and `
@@ -6,9 +8,9 @@ try {
# http://www.oracle.com/technetwork/java/javase/downloads/index.html
$url = if ($IsSytem32Bit)
{ 'http://download.oracle.com/otn-pub/java/jdk/7u21-b11/jdk-7u21-windows-i586.exe' }
{ "http://download.oracle.com/otn-pub/java/jdk/7u$version-b$build/jdk-7u$version-windows-i586.exe" }
else
{ 'http://download.oracle.com/otn-pub/java/jdk/7u21-b11/jdk-7u21-windows-x64.exe' }
{ "http://download.oracle.com/otn-pub/java/jdk/7u$version-b$build/jdk-7u$version-windows-x64.exe" }
$chocTemp = Join-Path $Env:TEMP 'chocolatey'
$tempInstall = Join-Path $chocTemp 'jdk7\jdk7installer.exe'