eclipse 加载了不兼容的 JavaHl 库
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/17929229/
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
Incompatible JavaHl library loaded
提问by Suleman khan
I'm having a problem with Subclipse and the JavaHL library. Subclipse it gives the error:
我遇到了 Subclipse 和 JavaHL 库的问题。Subclipse 它给出了错误:
Incompatible JavaHL library loaded. 1.8.x or later required.
加载了不兼容的 JavaHL 库。需要 1.8.x 或更高版本。
I am using Ubuntu desktop 12.04 32 bit.
我正在使用 Ubuntu 桌面 12.04 32 位。
采纳答案by Mark Phippard
Subclipse 1.10.x requires SVN 1.8.x libraries. This Wiki page explains it.
Subclipse 1.10.x 需要 SVN 1.8.x 库。这个 Wiki 页面解释了它。
http://subclipse.tigris.org/wiki/JavaHL
http://subclipse.tigris.org/wiki/JavaHL
I think Ubuntu 12.04 comes with SVN 1.6.x. So you probably want Subclipse 1.8.x and SVNKit, or else get Subversion and JavaHL from someone other than Ubuntu. See here:
我认为 Ubuntu 12.04 带有 SVN 1.6.x。所以你可能想要 Subclipse 1.8.x 和 SVNKit,或者从 Ubuntu 以外的其他人那里获得 Subversion 和 JavaHL。看这里:
回答by Grzegorz G?owacki
For me none of the methods found doesn't work. I have Ubuntu Xenial (16.04), eclipse 64b, java 64b, and libjava-svn packages installed, but it doesn't help. I've also tried manually download and install current Oracle java version and force eclipse to use it (-vm). Finally i went to subclipse page:
对我来说,找到的方法都不起作用。我安装了 Ubuntu Xenial (16.04)、eclipse 64b、java 64b 和 libjava-svn 软件包,但没有帮助。我还尝试手动下载并安装当前的 Oracle java 版本并强制 eclipse 使用它(-vm)。最后我去了subclipse 页面:
And in eclipse manually installed this:
在 eclipse 中手动安装了这个:
http://subclipse.tigris.org/update_1.12.x
http://subclipse.tigris.org/update_1.12.x
After eclipse has been restarted it finally found valid jni version.
eclipse 重新启动后,它终于找到了有效的 jni 版本。
回答by Rodrigue SAOUNGOUMI SOURPELE
In Ubuntu 16.04, for me I just had to install the following package:
在 Ubuntu 16.04 中,我只需要安装以下软件包:
$sudo apt-get install subversion
$sudo apt-get install subversion
$sudo apt-get install libapache2-svn
$sudo apt-get install libapache2-svn
After that I just restart eclipse and everything was fine.
之后我只是重新启动eclipse,一切都很好。
回答by miquel
Same error here, I've just installed libsvnclientadapter-java
package and now it's working fine!
同样的错误,我刚刚安装了libsvnclientadapter-java
包,现在它工作正常!