Friday, May 15, 2009

Eclipse, Subclipse, and Jaunty Jackalope

Getting Subclipse 1.6.x to work with Eclipse 3.4.x and Jaunty Jackalope was a little tricky. It turns out that Subclipse 1.6.x is too new for Jaunty, so you need to roll your own Subversion/Java bindings. (Fortunately I already had a colleague at work do that for me).

The crucial step which is not done automatically is to add the path to the libsvn-javahl-1.so library to the JNI load path. This is done my adding the following line to eclipse.ini, after the "-vmargs" parameter:

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

No comments: