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?


mp:~ alexus$ ls -l /Library/Java/Extensions/libsvnjavahl-1.jnilib 
lrwxr-xr-x  1 root  admin  40 Nov 12 00:20 /Library/Java/Extensions/libsvnjavahl-1.jnilib -> /opt/subversion/lib/libsvnjavahl-1.dylib

mp:~ alexus$ ls -l /opt/subversion/lib/libsvnjavahl-1.dylib
lrwxr-xr-x  1 alexus  wheel  22 Nov 12 00:20 /opt/subversion/lib/libsvnjavahl-1.dylib -> libsvnjavahl-1.0.dylib

mp:~ alexus$ ls -l /opt/subversion/lib/libsvnjavahl-1.0.dylib 
-rwxr-xr-x  1 root  admin  663784 Aug 26 11:48 /opt/subversion/lib/libsvnjavahl-1.0.dylib

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

  • 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

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.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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