Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
304 views
in Technique[技术] by (71.8m points)

java - 无法加载JNI共享库(JDK)(Failed to load the JNI shared Library (JDK))

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

(当我尝试打开Eclipse时 ,弹出对话框指出:)

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

(无法加载JNI共享库“ C:/JDK/bin/client/jvm.dll”。)

Following this, Eclipse force closes.

(此后,Eclipse强制关闭。)

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

(我想提出几点:)

  • I checked to see if anything exists at that path.

    (我检查了该路径是否存在任何东西。)

    It does exist.

    (它确实存在。)

  • My Eclipse and Java SE Development Kit are both 64-bit.

    (我的Eclipse和Java SE开发套件都是64位的。)

    I checked my system, and it can handle 64-bit.

    (我检查了系统,它可以处理64位。)

  • 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.

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

Downloading the 32-bit versions is something I only want to do as a very last resort.

(作为最后的选择,我只想下载32位版本。)
What would be suggested to solve this issue?

(有什么建议可以解决这个问题?)

  ask by community wiki translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

You need a 64-bit trio:

(您需要一个64-bit三重奏:)

  • 64-bit OS

    (64-bit 操作系统)

  • 64-bit Java

    (64-bit Java)

  • 64-bit Eclipse

    (64-bit Eclipse)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...