2024-08-29 21:02:56 UTC
2.29 GB
C:\openjdk-24
JAVA_SHA256f872535c7185b35e6509c62f7ed7bec65d8f958dc6742e40211244d6964e7ae6
JAVA_URLhttps://download.java.net/java/early_access/jdk24/13/GPL/openjdk-24-ea+13_windows-x64_bin.zip
JAVA_VERSION24-ea+13
[#000] sha256:c9226d61d3bdbf9f09821b32f5878623b8daaa5fb4f875cb63c199f87a26d57e - 67.26% (1.54 GB)
[#001] sha256:579bd4d5f7fd8737f66e40b29aafedee32d589107027d75796993c8898e3e7dd - 24.23% (567 MB)
[#002] sha256:2d8adc05975d35205c61288aaf056cfeb2e76d32451c59cd8d832f4f12c53079 - 0.0% (1.27 KB)
[#003] sha256:fa1b641ffa45879c0af6fcd60dc8f90580a9cff592e1c64180b8dbbe9c96768c - 0.02% (501 KB)
[#004] sha256:bb9af7d6df9df51db0122898030272e766dc0e66ecae4bcefd4fd1badda3a227 - 0.0% (1.29 KB)
[#005] sha256:af027a3c55ca6f732f17532506ff8371244e4eb6d814edc64b4445fa634c0348 - 0.01% (352 KB)
[#006] sha256:c699ff60391209e4112f2b03153cb758a07630906433fddadb4808d09173d567 - 0.0% (1.27 KB)
[#007] sha256:f1ed1e9fbdb42dfa02fd8e98b88ce408915ac22f3ba922314a4d5f08858545c2 - 0.0% (1.27 KB)
[#008] sha256:bbbea963409af1cc620767553fff78f107165266db30ef8fec18499aca883f88 - 0.0% (1.3 KB)
[#009] sha256:4a60e209943d8d33bbadb6b8782e4dbed884166edc8c988a3083301e673da03b - 8.48% (198 MB)
[#010] sha256:96be7fbfa938a394fb311c17896ab137b39f2f5b3a6b50b8f6562c1c5d9bc6c3 - 0.0% (1.27 KB)
Apply image 10.0.17763.4499
2024-08-11 07:11:31 UTCInstall update 10.0.17763.6189
2024-08-29 20:59:24 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2024-08-29 21:01:38 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.'
2024-08-29 21:01:39 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-24
2024-08-29 21:02:03 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.'
2024-08-29 21:02:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=24-ea+13
2024-08-29 21:02:05 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk24/13/GPL/openjdk-24-ea+13_windows-x64_bin.zip
2024-08-29 21:02:06 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=f872535c7185b35e6509c62f7ed7bec65d8f958dc6742e40211244d6964e7ae6
2024-08-29 21:02:55 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.'
2024-08-29 21:02:56 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.