jump to navigation

Setting up subeclipse on eclipse 3.4 August 18, 2008

Posted by maxmil in : eclipse,Subversion , trackback

Having just installed eclipse 3.4 (gannymead) on my debian box it took a little bit of extra configuration to get subeclipse working due to the fact that i didn’t have the the JavaHL subversion client library installed.

These were the necessary steps with a fresh install of eclipse:

1) Download and install JavaHL. For debian this can be done using apt by installing the libsvn-java package.
2) Add the library to eclipse classpath by adding the following line to the -vmargs in eclipse.ini (check the installation path of the JavaHL library on your sistem
-Djava.library.path=/usr/lib/jni
1) Create a new subeclipse update site. Window > Software Updates > Available Software > Add Site: http://subclipse.tigris.org/update_1.4.x
2) Open the subeclipse update site and select the Subeclipse and JavaHL Adapter categories. Note that even though JavaHL Adapter is marked as recommended it is required.
3) Install and restart.

Done!

Comments»

1. Rob Bruce - April 24, 2009

Have you ever got this to work on lenny? I’ve followed your instructions (as well as on many other sites), but it keeps reporting that JavaHL is not available.

I’ve checked my configuration details, and the extra vmargs have been loaded, I have 3 files in my jni directory:

libsvnjavahl-1.so
libsvnjavahl-1.so.0
libsvnjavahl-1.so.0.0.0

the first 2 are symlinks to the last.

2. maxmil - April 24, 2009

I am on debian testing and its working fine.

My jni directory is exactly the same as yours.

I’m afraid i can’t think of anything else to say.

3. boycer - September 24, 2009

I had similar issues to Rob Bruce on Debian Lenny with Eclipses 3.3. In my case I had to remove and then re-install subclipse after javahl was installed and eclipse.ini configured.