2026-11-24 00:39:23 UTC
2.32 GB
C:\openjdk-28
JAVA_SHA25626e26582d293ae689eceb8ae53396e0b6c7160f045454b3f7d459d6fa8706120
JAVA_URLhttps://download.java.net/java/early_access/jdk28/25/GPL/openjdk-28-ea+25_windows-x64_bin.zip
JAVA_VERSION28-ea+25
[#000] sha256:3cc21a1b754848d23f00aa65cb94ec34c9a5dc6028b3aada42039c824738d02f - 59.85% (1.39 GB)
[#001] sha256:514cbd3dfae445158cf4fa5649b0749cf2aab51510ffee9cbb4a56b3d3adc7d4 - 30.43% (722 MB)
[#002] sha256:3e934a8ddc215c9cea9977202de18688ae76824b4a18ab27987168d6589a3204 - 0.0% (1.29 KB)
[#003] sha256:305df07005cc9e9d1d14209006f4c2d7c2c87aa95defb20f96596e0af84bdeeb - 0.01% (354 KB)
[#004] sha256:8af0f9e5f6d57b47b778aeea2ebbae9cc23039e1ce4ae184adf0532f21131218 - 0.0% (1.26 KB)
[#005] sha256:594cc12990143440fe45194a3628224c0d6e87d7d7a5f30b752e7cfdd12659b0 - 0.01% (331 KB)
[#006] sha256:5c0ab904869b4590ea4921e43830871c39fab6d6667ff18e7b897f7ff191de89 - 0.0% (1.26 KB)
[#007] sha256:77c049227a1d3e091d29108cb18dcef07eadfabd9b324cb6fedc019e59257521 - 0.0% (1.31 KB)
[#008] sha256:c4b202560d2eff374c4f253694bfe93110ac18a5a9c19b7de3ade9a503c2bcf4 - 0.0% (1.29 KB)
[#009] sha256:2f87ee5adfd7e8d1787ccdfa2bc43ce7763c26d011680380a2f15900f4219cc3 - 9.69% (230 MB)
[#010] sha256:2414fa0c98d23ec99a962c4adddb95573fead991d380aa1f7d65c3b1e9258b9c - 0.0% (1.3 KB)
Apply image 10.0.20348.4294
2026-11-12 02:40:01 UTCInstall update 10.0.20348.5873
2026-11-24 00:35:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2026-11-24 00:36:53 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-11-24 00:36:54 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-28
2026-11-24 00:37:01 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-11-24 00:37:01 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=28-ea+25
2026-11-24 00:37:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk28/25/GPL/openjdk-28-ea+25_windows-x64_bin.zip
2026-11-24 00:37:02 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=26e26582d293ae689eceb8ae53396e0b6c7160f045454b3f7d459d6fa8706120
2026-11-24 00:39:21 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-11-24 00:39:23 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.