Can't install JDK 9 because “Another Java installation is in progress”

后端 未结 8 464
生来不讨喜
生来不讨喜 2021-02-02 14:05

I have been using JDK 9 on Windows 10 x64 for a while but when I went to install the latest early release (b174), I first uninstalled the previous version (as usual) and then ra

8条回答
  •  余生分开走
    2021-02-02 14:40

    Although this was written for JDK9, JDK10 will suffer from the same issue BUT the lock location is different. The new lock file is located in %USERPROFILE%\AppData\LocalLow\Sun\Java\JAVA_INSTALL_FLAG.

    Simply deleting this file should allow you to proceed with the install.

提交回复
热议问题