2025-10-24 23:40:12 UTC
1.68 GB
C:\openjdk-26
JAVA_SHA25625b332cae815558e365575910625e421a10ecbf655f0ed2d480d42f3224e9b93
JAVA_URLhttps://download.java.net/java/early_access/jdk26/21/GPL/openjdk-26-ea+21_windows-x64_bin.zip
JAVA_VERSION26-ea+21
[#000] sha256:3cc21a1b754848d23f00aa65cb94ec34c9a5dc6028b3aada42039c824738d02f - 82.74% (1.39 GB)
[#001] sha256:130d5bf0bd040ed2a9354c6bb5dc8ff89b34e452980249bf817f0b7cb33a21ce - 4.9% (84.1 MB)
[#002] sha256:4e49ff08bad79abee2117ad31238f872fddee88f6fdb356a9bf85922ae18b21a - 0.0% (1.29 KB)
[#003] sha256:61d00f1ffb286b93ed8fb3abda82d1bba997eea7bdad3f84da36153530be93af - 0.03% (487 KB)
[#004] sha256:d4d5a38902f5ad04ef42c5b6206d70c1c23fead687c17ec1cb2de78f388ab200 - 0.0% (1.26 KB)
[#005] sha256:8eb8940908bf17621a804ede266539b32be0328fa10a9743777a5911ee909e8a - 0.02% (329 KB)
[#006] sha256:506982969c9c4d44c21507b061fd1fb11c66157243c1bcff1c428ac027f91338 - 0.0% (1.29 KB)
[#007] sha256:af15034e30f9b4118d54fcffb09437a11e44b3dd837db12762ffb9e64d06f489 - 0.0% (1.3 KB)
[#008] sha256:82f64b4f68ac66f9a0c0773af8baa830294d0652d7b80701db4e11cd8378df8a - 0.0% (1.29 KB)
[#009] sha256:276e593b506bb559cfd6dc44aa84bd56ad04d44afe6d48be1db1abd87e95c3f8 - 12.31% (211 MB)
[#010] sha256:2d3c22566ecfd63fb6c5966e78a655487774f547f0ff64b517b38ca1ce041ac2 - 0.0% (1.26 KB)
Apply image 10.0.20348.4294
2025-10-22 21:59:56 UTCInstall update 10.0.20348.4297
2025-10-24 23:39:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-10-24 23:39:23 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-10-24 23:39:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-26
2025-10-24 23:39:30 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-10-24 23:39:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=26-ea+21
2025-10-24 23:39:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk26/21/GPL/openjdk-26-ea+21_windows-x64_bin.zip
2025-10-24 23:39:32 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=25b332cae815558e365575910625e421a10ecbf655f0ed2d480d42f3224e9b93
2025-10-24 23:40:11 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-10-24 23:40:12 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.