2018-09-21 09:22:21 UTC
3.1 GB
C:\jdk-12
JAVA_SHA2561065039397db6f47d45893bf20ecaf301404736b710e0ddd60f49b6480488dfd
JAVA_URLhttps://download.java.net/java/early_access/jdk12/11/GPL/openjdk-12-ea+11_windows-x64_bin.zip
JAVA_VERSION12-ea+11
[#000] sha256:5847a47b8593f7c39aa5e3db09e50b76d42aa8898c0440c70cc9c69747d4c479 - 68.41% (2.12 GB)
[#001] sha256:a5b83e25f92aef992a2827d664111b4726ada7d0b13d7af21882734cab96d8d0 - 25.82% (819 MB)
[#002] sha256:fa61e3e01eeaa5482e77157970441ee8c2414720462e140b668a5b58902a78f5 - 0.0% (1.16 KB)
[#003] sha256:f915f46bd201ed77d19fd21bb1a003cd14161bfbc561ddc5846b6981820caf55 - 0.0% (1.16 KB)
[#004] sha256:7d48f952dfc8ea57f78895574e91e37e90226fdfd33520cbc1f91e6de3a753d5 - 0.14% (4.51 MB)
[#005] sha256:d8e19aeee41240babda8f22bbedaacd7a95ee664bdf95b5a981b670e9461709a - 0.0% (1.17 KB)
[#006] sha256:1b2b098361aa68751a624804724817c2bb068f752e9c394ad96708095d7b6b0a - 0.0% (1.17 KB)
[#007] sha256:d563ff4493972dd04a81997555087903633dcefa2dc4f2d7c7caea678bdbab4c - 0.0% (1.17 KB)
[#008] sha256:5ddf5b6a5fd99949c11c2c9bf822b470bb052d63da99a07b9b3ba3458bfd403a - 5.63% (179 MB)
[#009] sha256:1b08662eab5f4ab7f9cde33925c54f33489c4ef8cdb110bf0aa2e8bdff20bc42 - 0.0% (1.17 KB)
Apply image 10.0.16299.15
2018-09-09 17:24:12 UTCInstall update 10.0.16299.665
2018-09-13 09:47:26 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2018-09-13 09:47:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\jdk-12
2018-09-13 09:48:45 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
2018-09-21 09:20:09 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=12-ea+11
2018-09-21 09:20:10 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk12/11/GPL/openjdk-12-ea+11_windows-x64_bin.zip
2018-09-21 09:20:11 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=1065039397db6f47d45893bf20ecaf301404736b710e0ddd60f49b6480488dfd
2018-09-21 09:22:21 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 ...'; Expand-Archive openjdk.zip -DestinationPath C:\; Write-Host 'Verifying install ...'; Write-Host ' java -version'; java -version; Write-Host ' javac -version'; javac -version; Write-Host 'Removing ...'; Remove-Item openjdk.zip -Force; Write-Host 'Complete.'
2018-09-21 09:22:21 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.