2026-05-15 21:12:28 UTC
2.26 GB
C:\openjdk-27
JAVA_SHA2568f070229867cab472c5d736b8a2b08d610772c4da7d6e451ab494e77fa4ad88d
JAVA_URLhttps://download.java.net/java/early_access/jdk27/22/GPL/openjdk-27-ea+22_windows-x64_bin.zip
JAVA_VERSION27-ea+22
[#000] sha256:0938cf51b672b81c9804d1d5f0c57031c931f41b279270e84820c63642d6a3bd - 62.63% (1.42 GB)
[#001] sha256:f787ad06f38db673c3d304f21c09a82ff9a1ced32062515ea52fdb0383457b24 - 28.08% (651 MB)
[#002] sha256:915521ee20f379f50a06d4f22330e0f6b880411357921aceff959d4549c62fde - 0.0% (1.28 KB)
[#003] sha256:83b6e349719dd85cb482ff567e3d7f785bd84849f2f198dcccdef658a6ea4a75 - 0.01% (353 KB)
[#004] sha256:3e234040c4048269a05c53ee25ef9fe75bd01c137abc58fe06ca1c2c38b0ebc9 - 0.0% (1.26 KB)
[#005] sha256:5c07fa7d71a965015cc4bab16430f7f83f750021fd7430d375b789ef12933eb0 - 0.01% (339 KB)
[#006] sha256:8663b0d39c4e9b37542a978d9e84b650b99265e844731522289077af6d3d0a6d - 0.0% (1.25 KB)
[#007] sha256:c2b334f34deab3ec5a5c347a95ad24c15e31c0583d3ddf19f8015361de5ff80b - 0.0% (1.23 KB)
[#008] sha256:acb8bcd1d3f468ec6541749ea988cd0ca9e28d2899e3ee3db2622b8433fa67c0 - 0.0% (1.23 KB)
[#009] sha256:a79705a2c75733b509f4c4bb49814b29351dd347c0795ebcf7004a4419449d80 - 9.26% (215 MB)
[#010] sha256:0c3f8635e9146f0a176a18d7d34d35a294c0ec6ac451df0a9c1fb28875699f80 - 0.0% (1.27 KB)
Apply image 10.0.26100.32230
2026-05-10 10:08:54 UTCInstall update 10.0.26100.32860
2026-05-15 21:10:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2026-05-15 21:11:02 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-05-15 21:11:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-27
2026-05-15 21:11: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.'
2026-05-15 21:11:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=27-ea+22
2026-05-15 21:11:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk27/22/GPL/openjdk-27-ea+22_windows-x64_bin.zip
2026-05-15 21:11:13 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=8f070229867cab472c5d736b8a2b08d610772c4da7d6e451ab494e77fa4ad88d
2026-05-15 21:12:27 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-05-15 21:12:28 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.