sha256:a4b5de4aab344abfa96f1f24a78ae58b52e1629028c277f5cfabc3b8dcee5747
2026-08-04 09:03:37 CST
2.22 GB
C:\openjdk-27
JAVA_SHA256b0cb0a5e7a3a55c33156aafff55edd46f46b7e7f306743285691c76bc7d79263
JAVA_URLhttps://download.java.net/java/early_access/jdk27/33/GPL/openjdk-27-ea+33_windows-x64_bin.zip
JAVA_VERSION27-ea+33
[#000] sha256:3cc21a1b754848d23f00aa65cb94ec34c9a5dc6028b3aada42039c824738d02f - 62.51% (1.39 GB)
[#001] sha256:0675e37b24741ccc9e6ff6dda8512e3be78ba3519c8af33b04872e4738349249 - 28.07% (638 MB)
[#002] sha256:374123d8acc99a6e9f519e50e544432036d6e008e65a29896bb1d69e3675a3c1 - 0.0% (1.29 KB)
[#003] sha256:cd09bdca053b3e396e3693318d19f00cb859c63aae801ff352a03079fcd3935f - 0.02% (486 KB)
[#004] sha256:f7083c50bfa5dab45490b70108ac16fa47be506fc9c1037643e3b3a9c6addaf2 - 0.0% (1.3 KB)
[#005] sha256:bd6e11d7870b263423f110611062b8ba3cd5a874b3fd48b0966a17d92ba880b8 - 0.01% (336 KB)
[#006] sha256:6c2a01f2e8164bd0af136c4d87471b03ec03be9d92f0a0c41f292051e96d8228 - 0.0% (1.26 KB)
[#007] sha256:9c899a8888c51918185ebb3b89673ba42c82077a4f816bfbf889933cd6f904b3 - 0.0% (1.26 KB)
[#008] sha256:7202edcadaacf6b48098fc46b8db9142c6c34bc9e23b23d5527c01faf841a2a7 - 0.0% (1.29 KB)
[#009] sha256:0f981bd976265f28a6bfba08bef573df65661626553560d6d1280fb0ef6d1d91 - 9.38% (213 MB)
[#010] sha256:5468ca0ddbb0be503e26253163fa1ba4a4abf08cfb317dd47c6276027ee7bc6e - 0.0% (1.26 KB)
Apply image 10.0.20348.4294
2026-07-12 00:30:20 CSTInstall update 10.0.20348.5386
2026-08-04 09:01:17 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2026-08-04 09:02:23 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-08-04 09:02:24 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-27
2026-08-04 09:02:33 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-08-04 09:02:34 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=27-ea+33
2026-08-04 09:02:35 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk27/33/GPL/openjdk-27-ea+33_windows-x64_bin.zip
2026-08-04 09:02:37 CSTpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=b0cb0a5e7a3a55c33156aafff55edd46f46b7e7f306743285691c76bc7d79263
2026-08-04 09:03:35 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-08-04 09:03:37 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.