当我尝试将 JDK 从 8u162 升级到 8u172 时,发生了这种情况。我发现所有 8u162、8u171 和 8u172 安装程序都以 code 退出0xC0000005,但只有 JDK 8 才会出现这种情况。JDK 10.0.1 可以成功安装。
以下是 Visual Studio 的转储文件分析:
Dump Summary
------------
Dump File: jdk-8u172-windows-x64.exe.10568.dmp : C:\Users\CNife\AppData\Local\CrashDumps\jdk-8u172-windows-x64.exe.10568.dmp
Last Write Time: 2018/4/21 21:54:54
Process Name: jdk-8u172-windows-x64.exe : C:\Users\CNife\AppData\Local\Temp\jds301015.tmp\jdk-8u172-windows-x64.exe
Process Architecture: x64
Exception Code: 0xC0000005
Exception Information: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Heap Information: Not Present
System Information
------------------
OS Version: …Run Code Online (Sandbox Code Playgroud)