2019-10-09 19:41:59 UTC
2.37 GB
https://github.com/AdoptOpenJDK/openjdk11-upstream-binaries/releases/download/jdk-11.0.4%2B11/OpenJDK11U-jdk_
JAVA_HOMEC:\openjdk-11
JAVA_URL_VERSION11.0.4_11
JAVA_VERSION11.0.4
[#000] sha256:d9e8b01179bfc94a5bdb1810fbd76b999aa52016001ace2d3a4c4bc7065a9601 - 65.24% (1.55 GB)
[#001] sha256:d8f170766a535406983bc5b2ee79c71e7926e6f5580d50e3cb2540aaf4aeb32a - 27.07% (657 MB)
[#002] sha256:ea7ccb23adfb015b938b092cea99550a661417af468d80b14b0560777f162e6a - 0.0% (1.16 KB)
[#003] sha256:c128438ee13e830de9dc07c944bb0bdec29c44b681f80938d87077c9dfb7acd6 - 0.0% (1.16 KB)
[#004] sha256:20371d19e2cdc238753a999981ce21737e18a01da6485ac6f2683203cb55778c - 0.19% (4.63 MB)
[#005] sha256:9d45453f82acb099e83ad0f80349b117bf87b81206f930c7fadbafb7c9a53395 - 0.0% (1.13 KB)
[#006] sha256:a86d2eeb1c3382765f531d533d32b67fb3ce7afecb1778e90415693633e58e73 - 0.0% (1.15 KB)
[#007] sha256:2aec25ffb3b567da355c6079b9d6b397dd69654f45e4a04291e9af16cfbf902b - 0.0% (1.13 KB)
[#008] sha256:f2e53850bf02737e1fbe82a856665b7626a143ca921feb69b8062b1d7b76edb7 - 7.49% (182 MB)
[#009] sha256:99eef6cfa52581cc5e4a826170dae4e1e3e525271a1c33ff0bc5755fcc25fdc6 - 0.0% (1.15 KB)
Apply image 1803-RTM-amd64
2019-10-06 14:03:04 UTCInstall update 1803-amd64
2019-10-09 12:59:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2019-10-09 19:39:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-11
2019-10-09 19:40:06 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
2019-10-09 19:40:07 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=11.0.4
2019-10-09 19:40:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_BASE_URL=https://github.com/AdoptOpenJDK/openjdk11-upstream-binaries/releases/download/jdk-11.0.4%2B11/OpenJDK11U-jdk_
2019-10-09 19:40:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL_VERSION=11.0.4_11
2019-10-09 19:41:57 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.'
2019-10-09 19:41:59 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.