Wednesday, April 7, 2010

Getting Rid of Subversion Native Library Not Available Error in Eclipse on Ubuntu


If you use Eclipse and Subclipse, chances are you've see the "Subversion Native Library Not Available" error (see attached pic). Things tend to work fine even if you see that error (at least they did for me), but I finally took the time the other night to get to the bottom of it and fix it in the easiest way possible.

First, do this:

sudo apt-get install libsvn-java

Next, do this:

sudo cp /usr/lib/jni/* /usr/lib

Now I said "easiest way possible" above because you can monkey around with eclipse.ini -VMARGS and all sorts of other nonsense, but chances are none of those solutions will work if you actually want to use a launcher to launch Eclipse.

So do yourself a favor, drop the files where Eclipse expects to find them, and get on with your life. (As you can tell, I spent more time on this than I wanted to, so I'm simply trying to help others avoid this same fate.)


Anonymous said...

Thanks for this great article, and thank you google

Peter J. Farrell said...

Matt saves my day again!

anthonysds said...