10
votes

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.

4

4 Answers

7
votes

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

3
votes

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.

0
votes

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

0
votes

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.