While trying to install the Subversion plugin I get this error when Eclipse starts:
Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
/usr/lib/jni/libsvnjavahl-1.so.0.0.0: /usr/lib/jni/libsvnjavahl-1.so.0.0.0: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
no svnjavahl in java.library.path
java.library.path = /usr/lib/jni
environment:
- java version "1.6.0_29"
- Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
- Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode, sharing)
- Linux debian 2.6.32-5-amd64 #1 SMP Mon Jan 16 16:22:28 UTC 2012 x86_64 GNU/Linux
I tried changing my java.library.path to a 64-bit lib but it doesn't help - I still go=et the same error (only last line changes - to a 64-bit path) Also, I have no idea why it's looking in /usr/lib/jni/ even after I change the java.library.path.