2020-07-15 02:33:51 UTC
5.45 GB
https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u252-b09/OpenJDK8U-jdk_
JAVA_HOMEC:\openjdk-8
JAVA_URL_VERSION8u252b09
JAVA_VERSION8u252
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 69.49% (3.79 GB)
[#001] sha256:802c4beb8b091968ccf1bb4a853ded7955ddb79e6f8775a5155cb5ed07dcbcab - 28.47% (1.55 GB)
[#002] sha256:9a64f8d0454dba1fb133615caae6ab4d76b85b8be54102ee2ce5f7fd034edbff - 0.0% (1.1 KB)
[#003] sha256:31a507ee4c5f1710265ef802239c6b751e4038de0880d1199939f60e9a55b852 - 0.0% (1.1 KB)
[#004] sha256:f508a80c49db228b8b105873dc5f16dcab73be484890fc688db12a14646d0b9e - 0.17% (9.39 MB)
[#005] sha256:bb57449db94f282f29d3b41741b7b624399cb9fc753ccbbe77da93115440bdc5 - 0.0% (1.12 KB)
[#006] sha256:13e011b2caf5c7b955215e7b1f5b50f9ad529cad1a8e7c9fcb9d32557c5ac500 - 0.0% (1.12 KB)
[#007] sha256:149ac9938eec70456439db474217447b303bd18c27e6db0ea69e2d0606009892 - 0.0% (1.14 KB)
[#008] sha256:35042e0c2863127a190bb9f36a71b1c3062ea5ef74c32ebee1f2b71e28f94544 - 1.87% (104 MB)
Apply image 1607-RTM-amd64
2020-07-07 21:05:00 UTCInstall update ltsc2016-amd64
2020-07-14 18:34:08 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2020-07-15 02:29:56 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-8
2020-07-15 02:31:27 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
2020-07-15 02:31:28 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=8u252
2020-07-15 02:31:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_BASE_URL=https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u252-b09/OpenJDK8U-jdk_
2020-07-15 02:31:31 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL_VERSION=8u252b09
2020-07-15 02:33:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $url = ('{0}x64_windows_{1}.zip' -f $env:JAVA_BASE_URL, $env:JAVA_URL_VERSION); Write-Host ('Downloading {0} ...' -f $url); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $url -OutFile 'openjdk.zip'; 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.'
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.