Eclipse, subclipse SVN plugin and JavaHL

Eclipse may use subclipse to connect to SVN servers. In this case, it is necessary to install correctly JavaHL.

Under Linux Ubuntu:

Subclipse installation

Eclipse > Help > Install new software > Add a repository

choose among the following list (for Eclipse Helios and svn 1.6, I installed Subclipse 1.6.x with success)

Name: Subclipse 1.6.x (Eclipse 3.2+)
URL: http://subclipse.tigris.org/update_1.6.x

Name: Subclipse 1.4.x (Eclipse 3.2+)
URL: http://subclipse.tigris.org/update_1.4.x

Name: Subclipse 1.2.x (Eclipse 3.2+)
URL: http://subclipse.tigris.org/update_1.2.x

Name: Subclipse 1.0.x (Eclipse 3.0/3.1)
URL: http://subclipse.tigris.org/update_1.0.x

Select all and finish installation.

References: http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA

JavaHL installation

- sudo apt-get install libsvn-java
- check that the installation occurred in /usr/lib/jni (contient libsvnjavahl-1.so libsvnjavahl-1.so.0 libsvnjavahl-1.so.0.0.0)
- in the installation directory of Eclipse, add a line in eclipse.ini after '-vmargs' : '-Djava.library.path=/usr/lib/jni'
Eclipse.ini after this addition:

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.1.R36x_v20100810
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Djava.library.path=/usr/lib/jni
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m

- launch Eclipse and get the project local copy by New > Project > SVN > checkout...

References: http://subclipse.tigris.org/wiki/JavaHL#head-7498d204a5be83e0e97d196ba75fc797d5f0c822