Home > Uncategorized > Upgrading JavaHL on Ubuntu

Upgrading JavaHL on Ubuntu

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
  1. Adriana Carla
    December 12, 2012 at 11:47 am

    Thanks very much from spending time posting this comment! It helped me a lot!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: