2025-11-11 19:28:39 UTC
1.86 GB
C:\openjdk-26
JAVA_SHA25641b399a48fae2944ecad52c8f821b2ce5195449fb10eb54a18542b013146fe59
JAVA_URLhttps://download.java.net/java/early_access/jdk26/23/GPL/openjdk-26-ea+23_windows-x64_bin.zip
JAVA_VERSION26-ea+23
[#000] sha256:3cc21a1b754848d23f00aa65cb94ec34c9a5dc6028b3aada42039c824738d02f - 74.73% (1.39 GB)
[#001] sha256:3a26269efcb0f33c920b21f98d305592e7310bbe548291a16043e48a0c1feba5 - 14.1% (268 MB)
[#002] sha256:5c47b7190b9ffc37d6229c244251af53d022884b4b7dab60e0c54d9354c4adc5 - 0.0% (1.29 KB)
[#003] sha256:ddaae9ad1eb924ebcbb5f1dc26f2fe2d38198cd8f6d7dd3e6ea80465962108c8 - 0.02% (479 KB)
[#004] sha256:aac2bff1e1e009ddb926cc431c74545f3dc38c254803bf27f5ab828601323708 - 0.0% (1.26 KB)
[#005] sha256:eb6b62d41529f0c98dd003d885bd491c22e25dc520dc8bbbc9efab9b060de601 - 0.02% (329 KB)
[#006] sha256:a5658bb790ed7f7ddf682bfe78355a4a1b24206fecd89e21d428a0edf02bf983 - 0.0% (1.29 KB)
[#007] sha256:9fa3fe6fd647be08e65c72f3e9280dcfac0d722f207b660e4833ea15e12bf341 - 0.0% (1.27 KB)
[#008] sha256:10e1a8672bd1f83813633d0fd1d4d345517a011c1bb1aec120b096bf883c10bd - 0.0% (1.28 KB)
[#009] sha256:a7593e58c88654a9fafa8b04cd9fc1db0bb401987d5c110deb26c35578ee5471 - 11.13% (211 MB)
[#010] sha256:50f0e720df16d527abea2ab040e50f3047167fb2fd3fd68d87caeae417df3281 - 0.0% (1.3 KB)
Apply image 10.0.20348.4294
2025-11-05 05:39:13 UTCInstall update 10.0.20348.4405
2025-11-11 19:11:18 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-11-11 19:28:06 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.'
2025-11-11 19:28:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-26
2025-11-11 19:28:11 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.'
2025-11-11 19:28:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=26-ea+23
2025-11-11 19:28:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk26/23/GPL/openjdk-26-ea+23_windows-x64_bin.zip
2025-11-11 19:28:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=41b399a48fae2944ecad52c8f821b2ce5195449fb10eb54a18542b013146fe59
2025-11-11 19:28:38 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.'
2025-11-11 19:28:39 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.