From 2b959d1717cfe716e4e5f2a00afacec2c43524f5 Mon Sep 17 00:00:00 2001 From: ajshastri Date: Wed, 24 Jul 2024 23:25:30 -0700 Subject: [PATCH] Updated Openjdk --- OpenJDK/openjdk.nuspec | 4 ++-- OpenJDK/tools/chocolateyBeforeModify.ps1 | 2 +- OpenJDK/tools/chocolateyinstall.ps1 | 6 +++--- OpenJDK/tools/chocolateyuninstall.ps1 | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/OpenJDK/openjdk.nuspec b/OpenJDK/openjdk.nuspec index 292392d..22c7de6 100644 --- a/OpenJDK/openjdk.nuspec +++ b/OpenJDK/openjdk.nuspec @@ -2,13 +2,13 @@ openjdk - 22.0.1 + 22.0.2 https://github.com/ajshastri/chocolatey-packages/tree/master/OpenJDK OpenJDK Oracle linearreg http://openjdk.java.net/legal/ - http://openjdk.java.net/ + https://jdk.java.net/ http://openjdk.java.net/ http://mail.openjdk.java.net/mailman/listinfo https://bugs.openjdk.java.net diff --git a/OpenJDK/tools/chocolateyBeforeModify.ps1 b/OpenJDK/tools/chocolateyBeforeModify.ps1 index f8c3d54..be54c29 100644 --- a/OpenJDK/tools/chocolateyBeforeModify.ps1 +++ b/OpenJDK/tools/chocolateyBeforeModify.ps1 @@ -1,7 +1,7 @@ $programFiles = (${env:ProgramFiles}, ${env:ProgramFiles(x86)} -ne $null)[0] $installDir = "$programFiles\OpenJDK" -$version = '22.0.1' +$version = '22.0.2' $pathToUnInstall = "$installDir\jdk-$version\bin" diff --git a/OpenJDK/tools/chocolateyinstall.ps1 b/OpenJDK/tools/chocolateyinstall.ps1 index 24d2ae4..b4719ba 100644 --- a/OpenJDK/tools/chocolateyinstall.ps1 +++ b/OpenJDK/tools/chocolateyinstall.ps1 @@ -2,13 +2,13 @@ $ErrorActionPreference = 'Stop' $programFiles = (${env:ProgramFiles}, ${env:ProgramFiles(x86)} -ne $null)[0] $installDir = "$programFiles\OpenJDK" -$version = "22.0.1" +$version = "22.0.2" $packageArgs = @{ PackageName = $env:ChocolateyPackageName UnzipLocation = $targetDir = $installDir - Url64 = 'https://download.java.net/java/GA/jdk22.0.1/c7ec1332f7bb44aeba2eb341ae18aca4/8/GPL/openjdk-22.0.1_windows-x64_bin.zip' - Checksum64 = 'de7f00fd1bd0d3a4c678fff2681dfad19284d74d357218a4be6f623488d040da' + Url64 = 'https://download.java.net/java/GA/jdk22.0.2/c9ecb94cd31b495da20a27d4581645e8/9/GPL/openjdk-22.0.2_windows-x64_bin.zip' + Checksum64 = 'f2a9b9ab944e71a64637fcdc6b13a1188cf02d4eb9ecf71dc927e98b3e45f5dc' ChecksumType64 = 'sha256' } diff --git a/OpenJDK/tools/chocolateyuninstall.ps1 b/OpenJDK/tools/chocolateyuninstall.ps1 index 2647651..efbf2b2 100644 --- a/OpenJDK/tools/chocolateyuninstall.ps1 +++ b/OpenJDK/tools/chocolateyuninstall.ps1 @@ -1,7 +1,7 @@ $programFiles = (${env:ProgramFiles}, ${env:ProgramFiles(x86)} -ne $null)[0] $installDir = "$programFiles\OpenJDK" -$version = '22.0.1' +$version = '22.0.2' Uninstall-ChocolateyEnvironmentVariable 'JAVA_HOME' 'Machine' rm -r "$installDir\jdk-$version"