sha256:41a5353102f2e52e9bf1a27d7aae88006b94893d78577ba291748de2f9012c82
2026-05-13 07:50:21 CST
2.26 GB
C:\openjdk-27
JAVA_SHA256c141a4db38b2d45883ed5d65a72f4444d1efa690d650027308594335dec2b07b
JAVA_URLhttps://download.java.net/java/early_access/jdk27/21/GPL/openjdk-27-ea+21_windows-x64_bin.zip
JAVA_VERSION27-ea+21
[#000] sha256:0938cf51b672b81c9804d1d5f0c57031c931f41b279270e84820c63642d6a3bd - 62.63% (1.42 GB)
[#001] sha256:f787ad06f38db673c3d304f21c09a82ff9a1ced32062515ea52fdb0383457b24 - 28.08% (651 MB)
[#002] sha256:c8b51f7f8f80dada0ff15ebfc020be610f4ccb1f56aa991e13148edd33df8342 - 0.0% (1.33 KB)
[#003] sha256:c785968391fa55bac93a778300e57101492475d74584e011ad34b8f8302dba3d - 0.02% (392 KB)
[#004] sha256:7e31999aa06627ee760fa15e484accbc378230565b37beecef96c74f6436284b - 0.0% (1.29 KB)
[#005] sha256:351acfd40993c8eb6f51df06e359873f365f081ab36f4926b6f200cf07ed5298 - 0.02% (379 KB)
[#006] sha256:0c2b3bc8ce88f5793bb370b76d107976abdadba667d9d3d6fd524bd26ae98dfe - 0.0% (1.27 KB)
[#007] sha256:d1e25e10449844aa90328c5b6fac1bfab7abf93d407e6158c20739ae6fcec289 - 0.0% (1.29 KB)
[#008] sha256:e71253120a4f9881a5f077abf57e8b65b1ce63b761e860d4dd7c711f560ad599 - 0.0% (1.29 KB)
[#009] sha256:e3007bf0f74e751c15fcf27d97add579df2e2a700388c4d75e52cd550c6a6c88 - 9.26% (215 MB)
[#010] sha256:8ab2488eb9e70b70165e23d1645f72c8e11bbaa710f8dacd2d7ef2076aa0905f - 0.0% (1.31 KB)
Apply image 10.0.26100.32230
2026-05-10 18:08:54 CSTInstall update 10.0.26100.32860
2026-05-13 07:39:20 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2026-05-13 07:49:49 CSTpowershell -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-05-13 07:49:50 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-27
2026-05-13 07:49:55 CSTpowershell -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-05-13 07:49:56 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=27-ea+21
2026-05-13 07:49:57 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk27/21/GPL/openjdk-27-ea+21_windows-x64_bin.zip
2026-05-13 07:49:58 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=c141a4db38b2d45883ed5d65a72f4444d1efa690d650027308594335dec2b07b
2026-05-13 07:50:20 CSTpowershell -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-05-13 07:50:21 CSTpowershell -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.