2017-07-28 19:06:31 UTC
467 MB
C:\ojdkbuild
JAVA_OJDKBUILD_SHA2567e7384636054001499ba96d55c90fc39cbb0441281254a1e9ac8510b527a7a46
JAVA_OJDKBUILD_VERSION1.8.0.131-1
JAVA_OJDKBUILD_ZIPjava-1.8.0-openjdk-1.8.0.131-1.b11.ojdkbuild.windows.x86_64.zip
JAVA_VERSION8u131
[#000] sha256:bce2fbc256ea437a87dadac2f69aabd25bed4f56255549090056c1131fad0277 - 51.55% (241 MB)
[#001] sha256:baa0507b781fcbf25230671393ddd64a7028872f57c375e758e9d11335cdc4ab - 26.55% (124 MB)
[#002] sha256:815a90c7de022ec1ac26cff95bb4490cdfa114edbe90c97dad360471afc1acdf - 0.0% (959 Bytes)
[#003] sha256:6116b79d04f9c015daa69cc45f0b8ba607fa12113b22f8f53243090b11d76a1a - 0.0% (957 Bytes)
[#004] sha256:da75c5c9158ca0ea57bd8c1330f3a5e7f924bd18e7aab39f4fef5c1f0d5b53e2 - 0.17% (800 KB)
[#005] sha256:502259ba05fb6381e4d608a32daf56a803672f2e7bdf727e163625e4a14f996a - 0.0% (954 Bytes)
[#006] sha256:a478fa8b68cee581efd203cd44d7b586a5545ef5ee35d2369339c926fe483755 - 0.0% (952 Bytes)
[#007] sha256:700bf4213da2147f0cc5364d04db4129337ab3d88752b1536b9e5588498240df - 0.0% (954 Bytes)
[#008] sha256:bfab142404dd0de87abc4f1c9890e346eaf7e46246b3b730e5ebb1a15105f899 - 0.0% (952 Bytes)
[#009] sha256:c38fb851a6a5ede30a17e8e0307dd8906189a256cc42ebf4a15fcb9fd1698cdf - 21.73% (102 MB)
Apply image 10.0.14393.0
2017-07-10 22:35:12 UTCInstall update 10.0.14393.1480
2017-07-28 18:35:25 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2017-07-28 19:05:33 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\ojdkbuild
2017-07-28 19:05:49 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;
2017-07-28 19:05:51 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=8u131
2017-07-28 19:05:53 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_VERSION=1.8.0.131-1
2017-07-28 19:05:55 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_ZIP=java-1.8.0-openjdk-1.8.0.131-1.b11.ojdkbuild.windows.x86_64.zip
2017-07-28 19:05:58 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_SHA256=7e7384636054001499ba96d55c90fc39cbb0441281254a1e9ac8510b527a7a46
2017-07-28 19:06:31 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); 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.