eclipse JAVAHL (JNI) 不可用

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6760625/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 16:39:39  来源:igfitidea点击:

JAVAHL (JNI) Not available

eclipsesvnsubclipseeclipse-indigo

提问by Ayrad

Windows 7 64 Bits, Eclipse Indigo, SlickSVN 1.6.17 all installed with path to the libraries entered in windows.

Windows 7 64 位、Eclipse Indigo、SlickSVN 1.6.17 都安装了在 Windows 中输入的库的路径。

Why do I get the message JAVAHL (JNI) Not available and why does eclipse not load these libraries?

为什么我会收到消息 JAVAHL (JNI) Not available,为什么 eclipse 不加载这些库?

回答by Chepech

Have you tried installing SilkSVN as suggested on the subclipse officialFAQ? Then on Eclipse/MyEclipse go to Window>Preferences>Team>SVNChange the client to SVNKit v1.XXX.

您是否尝试按照 subclipse官方常见问题解答中的建议安装 SilkSVN ?然后在 Eclipse/MyEclipse 上转到Window>Preferences>Team>SVN将客户端更改为SVNKit v1.XXX

That did the trick for me.

那对我有用。

回答by Steve

Did you close down Eclipse before running the SlikSVN 64 bit installation?

在运行 SlikSVN 64 位安装之前,您是否关闭了 Eclipse?

I had the same issue initially. Close Eclipse, rerun the SlikSVN install, choose Repair Installation. Once complete, open Eclipse, and then you should have the "JavaHL Slik SVN" option under Window/Preferences/team/SVN

我最初遇到了同样的问题。关闭 Eclipse,重新运行 SlikSVN 安装,选择修复安装。完成后,打开 Eclipse,然后您应该在 Window/Preferences/team/SVN 下有“JavaHL Slik SVN”选项

回答by Sérgio Michels

I had the same issue. It turns out that the FAQis helpful indeed, because:

我遇到过同样的问题。事实证明,FAQ确实很有帮助,因为:

As of the Subclipse 1.8.x releases, native 64-bit Windows binaries are included with Subclipse so it includes everything you need. For earlier releases of Subclipse follow these instructions:

If you are using a 32-bit JVM, then Subclipse should just work. If you use a 64-bit JVM then you need to provide a 64-bit version of JavaHL. One such distribution is SlikSVN which you can get here: http://www.sliksvn.com/en/download

With that package installed, Subclipse should find JavaHL on PATH and just work.

从 Subclipse 1.8.x 版本开始,Subclipse 包含本地 64 位 Windows 二进制文件,因此它包含您需要的一切。对于 Subclipse 的早期版本,请遵循以下说明:

如果您使用的是 32 位 JVM,那么 Subclipse 应该可以正常工作。如果您使用 64 位 JVM,则需要提供 64 位版本的 JavaHL。一个这样的发行版是 SlikSVN,你可以在这里找到它:http://www.sliksvn.com/en/download

安装该软件包后,Subclipse 应该会在 PATH 上找到 JavaHL 并正常工作。

The key here is the PATHvariable. In my case I had another svn client installed that came before in the path. When I changed to C:\Program Files\SlikSvn\bin\be the first folderin the variable, all worked.

这里的关键是PATH变量。就我而言,我在路径中安装了另一个 svn 客户端。当我更改为变量中C:\Program Files\SlikSvn\bin\第一个文件夹时,一切正常。

回答by vvauban

1) Uninstall existing subclipse plugin:

1) 卸载现有的 subclipse 插件:

Uninstall subclipse

卸载子剪辑

2) Download these three files:

2)下载这三个文件:

3) Install them manually one by one by following theses instructions:

3)按照以下说明手动一一安装:

http://www.microfocus.co.jp/manuals/ED23/html/GUID-70E8158C-8618-4228-9495-6AFF4CB7E8DB.html

http://www.microfocus.co.jp/manuals/ED23/html/GUID-70E8158C-8618-4228-9495-6AFF4CB7E8DB.html

Ω) If not suitable in your case:

Ω) 如果不适合您的情况:

Install this: Subversive-4.0.2.I20160902-1700.zip(works with eclipse 2019-06)

安装:Subversive-4.0.2.I20160902-1700.zip(适用于eclipse 2019-06)

回答by Julia

Now I can find "JavaHl Slik SVN"under SVN Interface. The solution was to uninstall Subclipseand to reinstall it. When reinstalling Subclipse, I removed the check on "javahl client adapter (required)"(or similar).

现在我可以在 SVN 接口下找到“JavaHl Slik SVN”。解决方案是卸载Subclipse并重新安装它。重新安装 Subclipse 时,我取消了对“javahl 客户端适配器(必需)”(或类似内容)的检查。