2018-10-20 09:20:07 UTC
5.4 GB
C:\openjdk-12
JAVA_SHA256cd9cd3087d1c11912662870d62257c200eb82c407eb9d364d1ee86d65711c2b4
JAVA_URLhttps://download.java.net/java/early_access/jdk12/16/GPL/openjdk-12-ea+16_windows-x64_bin.zip
JAVA_VERSION12-ea+16
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 70.15% (3.79 GB)
[#001] sha256:c0f6863f3dd498ab56cdd308637630f888fe646de403284f2c5392ba885bdd8e - 26.32% (1.42 GB)
[#002] sha256:d41004b1d809eac4e77c97920984b278977d36627024ab085d0dd8ccc941ddeb - 0.0% (1.17 KB)
[#003] sha256:e1f2b49afd3609a249fe7bf207dc223e3894f836b1e2e1ea8d2427f2aa818283 - 0.0% (1.17 KB)
[#004] sha256:1e4cd4842c91e00185651e122353cd21466f678b55d81a9c073a5415899b6232 - 0.09% (4.85 MB)
[#005] sha256:4405e72948a8317e4f1fda9b97bd0dbd7ab986440de64ba0c32adf5451edf1bb - 0.0% (1.17 KB)
[#006] sha256:93f5c084cb0009eb6c7ecedd4394666797127b9f2fe24fcdd7455fd9497cf3e0 - 0.0% (1.18 KB)
[#007] sha256:4cefbca74f47180e5ff632fb45cc8b31409d1aa4ef1296e9659d0e93f497f436 - 0.0% (1.16 KB)
[#008] sha256:00706c9e3add0aea14a869ba11b571d7b0b1c1ec3f7ca5f93e86fe0fd32fc299 - 3.44% (191 MB)
[#009] sha256:20aaf1f1da5b5fbd6b82d8a26d6c25403a73519ebc0eaa1620eec4abc6976d4d - 0.0% (1.16 KB)
Apply image 10.0.14393.0
2018-10-09 18:03:17 UTCInstall update 10.0.14393.2551
2018-10-10 09:36:30 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2018-10-10 10:21:03 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\openjdk-12
2018-10-10 10:22:53 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-10-20 09:16:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=12-ea+16
2018-10-20 09:16:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/jdk12/16/GPL/openjdk-12-ea+16_windows-x64_bin.zip
2018-10-20 09:16:52 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_SHA256=cd9cd3087d1c11912662870d62257c200eb82c407eb9d364d1ee86d65711c2b4
2018-10-20 09:20:05 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 '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-10-20 09:20:07 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.