Subversion on Eclipse 3.7.0 on Ubuntu 11.10


Installation

I am assuming you have already installed eclipse. If not see: http://purvag.com/blog/?p=226

I would suggest installing subversion 1.6.x since there are few issues with 1.8.x. In eclipse:

Go to Help->Install New Software

Click Add. Copy the following URL in Location box: 

http://subclipse.tigris.org/update_1.6.x

 

Click OK.

On next screen select the required packages.

 Click next and follow the instructions, and you are done.

Troubleshooting

If you get following error:

Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
no svnjavahl in java.library.path
java.library.path = /usr/lib/jni/

Close eclipse and run following command on terminal.

sudo apt-get install libsvn-java

Edit eclipse.ini file.

sudo nano /usr/lib/eclipse/eclipse.ini 

Add following two lines after -vmargs

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

save and close

 

 

Leave a Reply