2026-09-25 18:25:02 UTC
2.51 GB
C:\openjdk-28
JAVA_SHA25616ddf389a8cd7a2b99ff3b3aebd13bf08fe7b680bf4f37eaf3147f8b5e7729d5
JAVA_URLhttps://download.java.net/java/early_access/jdk28/17/GPL/openjdk-28-ea+17_windows-x64_bin.zip
JAVA_VERSION28-ea+17
[#000] sha256:0938cf51b672b81c9804d1d5f0c57031c931f41b279270e84820c63642d6a3bd - 56.45% (1.42 GB)
[#001] sha256:57ad760a8a0dac5abb352847ef76295f82b76df46372259a4df2102ad3adf78b - 34.64% (891 MB)
[#002] sha256:219fcbfdaca01d3425457ba2beb6bac0cc76ace5134c4e0c8bc4ef9192b76da2 - 0.0% (1.29 KB)
[#003] sha256:aca0bf4745d31165c51eb0d256bcb50e650b77b5c84dcf9b56b6e804cd00f394 - 0.01% (380 KB)
[#004] sha256:079ce743866e5f8a19ab0475071850e4b2b1b85073674eb53713da087c3e8a75 - 0.0% (1.25 KB)
[#005] sha256:2b08ab6b6ea5cde9cd3b3c2515d6b12f96562234955ee5b0a050fd02d9bffb3e - 0.01% (367 KB)
[#006] sha256:012e73e819d9012d3e9d93396c9e499b00f250dc8f587e4cc536257dd363e435 - 0.0% (1.23 KB)
[#007] sha256:7b0b8b66671e131d5d7276202e6a7a76a20fcd7cb34133c2ddbe37868ff14c16 - 0.0% (1.25 KB)
[#008] sha256:9437322d287780262f76ca6d071feb412b7c133b0a7081ae087125681661b25a - 0.0% (1.26 KB)
[#009] sha256:70af59dac41a35bd5e4de3722bcfbba465e0e1b9991fa81cdae150b852a3644c - 8.89% (229 MB)
[#010] sha256:cb50aa845a07f06370c8bd840b442f7700af1941a7bd3159581d2d3c7bcf29de - 0.0% (1.26 KB)
Apply image 10.0.26100.32230
2026-09-05 17:41:23 UTCInstall update 10.0.26100.33438
2026-09-25 18:22:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2026-09-25 18:24:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host 'Enabling TLS 1.2 (https://githubengineering.com/crypto-removal-notice/) ...'; $tls12RegBase = 'HKLM:\\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2'; if (Test-Path $tls12RegBase) { throw ('"{0}" already exists!' -f $tls12RegBase) }; New-Item -Path ('{0}/Client' -f $tls12RegBase) -Force; New-Item -Path ('{0}/Server' -f $tls12RegBase) -Force; New-ItemProperty -Path ('{0}/Client' -f $tls12RegBase) -Name 'DisabledByDefault' -PropertyType DWORD -Value 0 -Force; New-ItemProperty -Path ('{0}/Client' -f $tls12RegBase) -Name 'Enabled' -PropertyType DWORD -Value 1 -Force; New-ItemProperty -Path ('{0}/Server' -f $tls12RegBase) -Name 'DisabledByDefault' -PropertyType DWORD -Value 0 -Force; New-ItemProperty -Path ('{0}/Server' -f $tls12RegBase) -Name 'Enabled' -PropertyType DWORD -Value 1 -Force; Write-Host 'Complete.'
2026-09-25 18:24:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-28
2026-09-25 18:24:19 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $newPath = ('{0}\bin;{1}' -f $env:JAVA_HOME, $env:PATH); Write-Host ('Updating PATH: {0}' -f $newPath); setx /M PATH $newPath; Write-Host 'Complete.'
2026-09-25 18:24:20 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=28-ea+17
2026-09-25 18:24:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk28/17/GPL/openjdk-28-ea+17_windows-x64_bin.zip
2026-09-25 18:24:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=16ddf389a8cd7a2b99ff3b3aebd13bf08fe7b680bf4f37eaf3147f8b5e7729d5
2026-09-25 18:25:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; Write-Host ('Downloading {0} ...' -f $env:JAVA_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $env:JAVA_URL -OutFile 'openjdk.zip'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:JAVA_SHA256); if ((Get-FileHash openjdk.zip -Algorithm sha256).Hash -ne $env:JAVA_SHA256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Expanding ...'; New-Item -ItemType Directory -Path C:\temp | Out-Null; Expand-Archive openjdk.zip -DestinationPath C:\temp; Move-Item -Path C:\temp\* -Destination $env:JAVA_HOME; Remove-Item C:\temp; Write-Host 'Removing ...'; Remove-Item openjdk.zip -Force; Write-Host 'Verifying install ...'; Write-Host ' javac --version'; javac --version; Write-Host ' java --version'; java --version; Write-Host 'Complete.'
2026-09-25 18:25:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) CMD ["jshell"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.