Fail to load `jvm.dll` after Windows 10 upgrade bugs

发布于 2022-09-03 12:07:35 字数 2017 浏览 21 评论 0

There're many jvm.dll errors here but I didn't find any one like this.

The Windows 10 anniversary upgrade just messed up my PC. After fixing these up, I opened Android Studio, it pop up:
Failed to load JVM DLL C:\Program Files\Java\jdk1.8.0_74\jre\bin\server\jvm.dll ...

What happened before this

  1. I used ExpressCache to use my SSD (G:\) for caching, and the system's in C:\. And the jdk was always working well.

  2. The Windows 10 anniversary upgrade made my computer lose the SSD partition. I pulled and plugged the SSD again it turned OK (JDK and everything were still fine).

  3. But the next time when I turn it on everything was messy again – Alert dialogs came one after another, desktop icons all disappeared. I guessed that was because of the failure of reading SSD cache. I uninstalled ExpressCache. SSD pulled and plugged again. It turned almost OK.

What I did after problem occurs

  1. Checked System environment variables. No wrong.

  2. Checked if the jvm.dll existed. Yes it did.

  3. Input java in cmd. Same result:
    Error: loading: C:\Program Files\Java\jdk1.8.0_101\jre\bin\server\jvm.dll

  4. Try to open Java Misson Control. Same result.
    Failed to load the JNI shared library "C:\\Program Files\\...jvm.dll".

  5. Downdload jdk again (jdk-8u101-windows-x64.exe, ver: 1.8.0_101) and install again. In this process, same result occurs.
    Failed to load the JNI shared library "C:\\Program Files\\...jvm.dll".

  6. Unistall both jdk 1.8.0_74 and jdk 1.8.0_101 and install jdk 1.8.0.101 again and install again. In this process, same result again.

It seems there's something wrong with the system. I just don't know what to do. Don't want to reload the system. Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

淡淡绿茶香 2022-09-10 12:07:35

rollback '滚回上一次的版本'

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文