2017-11-01 19:15:12 UTC
5.17 GB
C:\ojdkbuild
JAVA_OJDKBUILD_SHA256bb0177ada6d4061b1223882db20ba04f3f39c3da7dd695a1e1004e93a65fcfd6
JAVA_OJDKBUILD_VERSION9-ea-b154-1
JAVA_OJDKBUILD_ZIPjava-9-openjdk-9.0.0-1.b154.ojdkbuildea.windows.x86_64.zip
JAVA_VERSION9-b154
[#000] sha256:3889bb8d808bbae6fa5a33e07093e65c31371bcf9e4c38c21be6b9af52ad1548 - 73.33% (3.79 GB)
[#001] sha256:8df8e568af76c1c311a1251f6f7402e2a09d14629840c97091beb9ba55419464 - 23.07% (1.19 GB)
[#002] sha256:a2549da2a20282ababf948c27e5a82ee060275fa04614875c1c5c0c0e11f5e32 - 0.0% (1.14 KB)
[#003] sha256:44456976b7c3b518e9b21732efdad36245bf82df9f2f7d1c184802fc0eaabe64 - 0.0% (1.17 KB)
[#004] sha256:451b89b4ac7ba934968eff065d6d2223e6ece0bf6ac02e3199b98cefe5913e73 - 0.09% (4.64 MB)
[#005] sha256:e2e0b1ad3de3dbb744cdc4a386e064a6b4f45a603c8cf3a529bf249af3b65834 - 0.0% (1.17 KB)
[#006] sha256:3db4ea987e383eae55522d31d762a12f5504056c86c9b6ea3c46dfddaaf053c6 - 0.0% (1.16 KB)
[#007] sha256:04de381c7b93834d8a853c0b1e3344116e90d999216134e44634eddc4abfc122 - 0.0% (1.16 KB)
[#008] sha256:30d61f6da9a50d34673d2592736a4ebc35f27f814c0424faded3b09974956eb0 - 0.0% (1.17 KB)
[#009] sha256:3ac8a4f88f128ece6893e7020e4355c2ea5b77e2b6e299a27e90a0ad0ad85611 - 3.51% (186 MB)
[#010] sha256:27e7503c6ada918bd18081772969fcfa5f788fa916f82d9029f94807fe8149df - 0.0% (1.16 KB)
Apply image 10.0.14393.0
2017-10-09 19:23:50 UTCInstall update 10.0.14393.1770
2017-11-01 18:45:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) SHELL [powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';]
2017-11-01 19:07:04 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_HOME=C:\ojdkbuild
2017-11-01 19:08:11 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-11-01 19:12:42 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_VERSION=9-b154
2017-11-01 19:12:43 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_VERSION=9-ea-b154-1
2017-11-01 19:12:44 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_ZIP=java-9-openjdk-9.0.0-1.b154.ojdkbuildea.windows.x86_64.zip
2017-11-01 19:12:45 UTCpowershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; #(nop) ENV JAVA_OJDKBUILD_SHA256=bb0177ada6d4061b1223882db20ba04f3f39c3da7dd695a1e1004e93a65fcfd6
2017-11-01 19:15:10 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.';
2017-11-01 19:15:12 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.