Archive

Posts Tagged ‘svn’

Upgrading JavaHL on Ubuntu

October 31, 2012 1 comment

Subclipse Eclipse plugin requires JAVAHL 1.7 or later. You may have encountered this error : Incompatible JavaHL library loaded.  1.7.x or later required, and now want to install the upgraded version. Luckily, there is ppa, created by Dominic Stadler that you can add in your repositories. Add sudo if you are not logged in as root.

now, delete your previously installed livsvn –

apt-get purge libsvn-java

Use the following command to add this in the repository:

add-apt-repository ppa:dominik-stadler/subversion-1.7

After that, update your repository and install

apt-get update

apt-get install libsvn-java

Cheers :). You may also need to add following line in your eclipse.ini after -vmargs line. Normally, it should be in /usr/lib/jni location, but if it’s not then you can use find / -name libsvnjavahl-1.so to find the exact location.

-Djava.library.path=/usr/lib/jni 

Advertisements