all of the sudden, when I work in my Eclipse PDT I get this error msg, not sure where they came from nor how to get rid of them

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 = .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java

any ideas?

link|improve this question

feedback

5 Answers

A more general answer is found on the subclipse website:

http://subclipse.tigris.org/wiki/JavaHL#head-5ccce53a67ca6c3965de863ae91e2642eab537de

This answer tells you how to fix it for all major operating systems.

link|improve this answer
feedback
up vote 3 down vote accepted

Subversion Native Library Not Available

link|improve this answer
feedback

I found an answer here link

link|improve this answer
feedback

Following an update to subclipse, I got that error on Ubuntu 9.10. In order to fix it, i had to adjust the path in the config.ini file.

First, locate your libsvjavahl-1 library :

sudo updatedb
locate libsvnjavahl-1

Mine was under /usr/local/lib

Then edit the path in the config.ini. You have to pass the libsvnjavahl-1 path to the JVM.

Locate eclipse.ini and edit the path and add, UNDER the line : -vmargs

-Djava.library.path=/usr/local/lib
link|improve this answer
i actually figure out, i created symlink.. but now its complaining that my lib is v1 and it needs v1.6+ – alexus Feb 26 '10 at 3:15
feedback

I received a similar error on Windows 64-bit when adding a repository location. My fix was to install SlikSVN.

I still had the error up in Eclipse while I installed SlikSVN. Once it was done I closed the message in Eclipse, and it successfully finished adding the repository location; I didn't even have to retry adding it or restart Eclipse.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.