How do I install javahl?

I'm trying to get Subclipse working in Eclipse Galeilo, and to do that I have to install the JavaHL library.

I installed the library using sudo apt-get install libsvn-java, but the eclipse.ini file has to be modified to take in the new library as an argument.

First change to the ini file was -Djava.library.path=/usr/lib/jni/, which produced the errors
"no libsvnjavahl-1 in java.library.path"
"incompatible javahl library loaded. 1.3.x or later required."
according to the install printout, version 1.6.12 was installed.

So, I added libsvnjavahl-1.so to the file path above, and produced the following errors:
"no libsvnjavahl-1 in java.library.path"
"no svnjavahl-1 in java.library.path"
"no svnjavahl in java.library.path"

What's going on here?


are you installing eclipse from ubuntu repository? or download from eclipse?

IMHO you need install eclipse manually.

first you install subversion :

sudo apt-get install subversion

if you want to install subversion plugin for eclipse, you can install using menu Help -> Install New Software choose Helios or Galileo :

Eclipse Helios

choose Collaboration and select Subversive :

Subversive


Subversive? Not a good option, the problem is that version 1.7 or later of JavaHL is required, and the user is correct that libsvn-java only includes 1.6.x. Ubuntu needs to update this library.