2019-04-12 01:06:29 UTC
3.09 GB
C:\ojdkbuild
JAVA_OJDKBUILD_SHA256d74066dc7d6e017388b1eeeb4f4cc0af20337aa6eea8e3a818017ae8d15b988a
JAVA_OJDKBUILD_VERSION1.8.0.201-1
JAVA_OJDKBUILD_ZIPjava-1.8.0-openjdk-1.8.0.201-1.b09.ojdkbuild.windows.x86_64.zip
JAVA_VERSION8u201
[#000] sha256:5847a47b8593f7c39aa5e3db09e50b76d42aa8898c0440c70cc9c69747d4c479 - 68.57% (2.12 GB)
[#001] sha256:8c7d1531260f1f41cc711bfb3c8ab8efac981758fd7943518b863803f0b31552 - 27.94% (884 MB)
[#002] sha256:59e24a9056c00889763abd79b000344468ace59ae58ae7d17acdfcbaadd1f6e8 - 0.0% (1.18 KB)
[#003] sha256:1956b0d90026bba5e76aa416cb09f4a35293f62b3d6f97e3af22b65e10472d89 - 0.0% (1.18 KB)
[#004] sha256:30900bed30218439bf2396d0b9ad993e57abb613d9bdf57bdbc6d0f71cfb2da1 - 0.15% (4.59 MB)
[#005] sha256:b3528237b8e99110cba03b466d8794d4c989a763bee6972225e29cc43a41d199 - 0.0% (1.18 KB)
[#006] sha256:fc3a2852e5e106fe80afb7eb3c6c7af8f78c81913f4021ae7c84da0d218c7c38 - 0.0% (1.17 KB)
[#007] sha256:1e41c80056b83cb881b8d4ee27ce6ae5327387c120a1ed5298580b72320ef9b8 - 0.0% (1.17 KB)
[#008] sha256:b1e63be2c6957035b75de6165dedd4d0848639baa8db795513fccfb447536924 - 0.0% (1.17 KB)
[#009] sha256:b2bba6a0e2ee5675007350f57d6fff28d2c29389ff55f121b30ed8d09cf0e9b9 - 3.35% (106 MB)
Apply image 1709-RTM-amd64
2019-04-04 00:21:24 UTCInstall update 1709-amd64
2019-04-11 22:58:27 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2019-04-12 01:03:50 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\ojdkbuild
2019-04-12 01:04:40 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-04-12 01:04:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=8u201
2019-04-12 01:04:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_VERSION=1.8.0.201-1
2019-04-12 01:04:46 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_ZIP=java-1.8.0-openjdk-1.8.0.201-1.b09.ojdkbuild.windows.x86_64.zip
2019-04-12 01:04:47 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_SHA256=d74066dc7d6e017388b1eeeb4f4cc0af20337aa6eea8e3a818017ae8d15b988a
2019-04-12 01:06:29 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $url = ('https://github.com/ojdkbuild/ojdkbuild/releases/download/{0}/{1}' -f $env:JAVA_OJDKBUILD_VERSION, $env:JAVA_OJDKBUILD_ZIP); Write-Host ('Downloading {0} ...' -f $url); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri $url -OutFile 'ojdkbuild.zip'; Write-Host ('Verifying sha256 ({0}) ...' -f $env:JAVA_OJDKBUILD_SHA256); if ((Get-FileHash ojdkbuild.zip -Algorithm sha256).Hash -ne $env:JAVA_OJDKBUILD_SHA256) { Write-Host 'FAILED!'; exit 1; }; Write-Host 'Expanding ...'; Expand-Archive ojdkbuild.zip -DestinationPath C:\; Write-Host 'Renaming ...'; Move-Item -Path ('C:\{0}' -f ($env:JAVA_OJDKBUILD_ZIP -Replace '.zip$', '')) -Destination $env:JAVA_HOME ; Write-Host 'Verifying install ...'; Write-Host ' java --version'; java --version; Write-Host ' javac --version'; javac --version; Write-Host 'Removing ...'; Remove-Item ojdkbuild.zip -Force; 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.