Sunday, March 25, 2012

Eclipse PDT - Failed to load JavaHL Library

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 
 
http://superuser.com/questions/111748/eclipse-pdt-failed-to-load-javahl-library 

No comments:

Post a Comment