Incompatible JavaHl library loaded

江枫思渺然 提交于 2019-12-22 04:06:02

问题


I'm having a problem with Subclipse and the JavaHL library. Subclipse it gives the error:

Incompatible JavaHL library loaded. 1.8.x or later required.

I am using Ubuntu desktop 12.04 32 bit.


回答1:


Subclipse 1.10.x requires SVN 1.8.x libraries. This Wiki page explains it.

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:

http://subversion.apache.org/packages.html#ubuntu




回答2:


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 :

And in eclipse manually installed this:

http://subclipse.tigris.org/update_1.12.x

After eclipse has been restarted it finally found valid jni version.




回答3:


Same error here, I've just installed libsvnclientadapter-java package and now it's working fine!




回答4:


In Ubuntu 16.04, for me I just had to install the following package:

$sudo apt-get install subversion

$sudo apt-get install libapache2-svn

After that I just restart eclipse and everything was fine.



来源:https://stackoverflow.com/questions/17929229/incompatible-javahl-library-loaded

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!