2025-10-06 21:05:51 UTC
3.53 GB
C:\openjdk-26
JAVA_SHA256463cf324498dd66ed66418be8d8e730b4ee17b323f86d4df926264b071118dbd
JAVA_URLhttps://download.java.net/java/early_access/jdk26/18/GPL/openjdk-26-ea+18_windows-x64_bin.zip
JAVA_VERSION26-ea+18
[#000] sha256:1317fe15185685e9cd27f7542cd96f4847343401288a8b6798273a4ac60844eb - 58.39% (2.06 GB)
[#001] sha256:2e9750fac680d8e6b6c2e0a6f7718b1ccb76f68a6ebd9f9da4c5e470458c7e72 - 35.75% (1.26 GB)
[#002] sha256:cd62238dc0a32b22c064cf7377f6418f0f968002a2b0aebe60ad115b39a97929 - 0.0% (1.28 KB)
[#003] sha256:10e9360c86ff02fb586cdd821499592b9e5c1a0488ed3ff8776035841f0e0162 - 0.01% (372 KB)
[#004] sha256:9887e1fc2b513819f205fde643e556ccc257adbff77b591acb53fbd33810f38d - 0.0% (1.28 KB)
[#005] sha256:22f18dc99f35c5ba39c5a8a1ec1699d6471bc34792f39f35240b625acaf4a3d9 - 0.01% (346 KB)
[#006] sha256:d776ba72542f22e44781d997e96b704228c8d8f9e8ea0dc077e8c4f54dbaf79d - 0.0% (1.31 KB)
[#007] sha256:165e52f0a3a2461c3e0dab765a8e3a0ab093ee9c6f3c7076e318d8070a33fbb0 - 0.0% (1.29 KB)
[#008] sha256:5990bab7d8d4ebaf5e5f0d7d565a836906d22aec31d27e56c4aabaa7197776f8 - 0.0% (1.26 KB)
[#009] sha256:931774dd4f3548133b4564c1b9afa62f035b2a9104be059faf40f03bf306bc82 - 5.84% (211 MB)
[#010] sha256:d5c038761fbdfc3572a81b30781fd36a66ebb019e5018e11920565beba16ce4b - 0.0% (1.29 KB)
Apply image 10.0.26100.2605
2025-09-06 02:36:14 UTCInstall update 10.0.26100.6584
2025-10-06 21:04:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2025-10-06 21:05:12 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-06 21:05:12 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-26
2025-10-06 21:05:20 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-06 21:05:21 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=26-ea+18
2025-10-06 21:05:22 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk26/18/GPL/openjdk-26-ea+18_windows-x64_bin.zip
2025-10-06 21:05:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=463cf324498dd66ed66418be8d8e730b4ee17b323f86d4df926264b071118dbd
2025-10-06 21:05:50 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-06 21:05:51 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.