无法加载JNI共享库(JDK)

无法加载JNI共享库(JDK)

问题描述:

当我尝试打开 Eclipse 时,弹出的对话框显示:

When I try opening Eclipse, a pop-up dialog states:

无法加载JNI共享库C:/JDK/bin/client/jvm.dll`。

Failed to load the JNI shared library "C:/JDK/bin/client/jvm.dll"`.

此后,Eclipse强制关闭。

Following this, Eclipse force closes.

以下是我想提出的几点:

Here's a few points I'd like to make:


  • 我检查过该路径是否存在任何东西。它确实存在。

  • 我的Eclipse和 Java SE开发工具包都是64位。我检查了我的系统,它可以处理64位。

  • 我在Google和Stack Overflow上搜索了此问题,唯一的答案是下载了32位版本的JDK和Eclipse。

  • I checked to see if anything exists at that path. It does exist.
  • My Eclipse and Java SE Development Kit are both 64-bit. I checked my system, and it can handle 64-bit.
  • I've searched for this problem on Google and on Stack Overflow, and the only answer I found was to download the 32-bit versions of JDK and Eclipse.

下载32位版本是我只想做的一个最后的手段。

建议解决什么这个问题?

Downloading the 32-bit versions is something I only want to do as a very last resort.
What would be suggested to solve this issue?

你需要一个64位三重奏:

You need a 64-bit trio:


  • 64位操作系统

  • 64位Java

  • 64位Eclipse