Fail to load jni library

“Failed to load JavaHL Library …” : a popup error message which, whenever I see makes me say “che”. Not really annoying but just enough to make you glare at computer screen. Earlier, whenever I had this popup message, all I did was click ok and continued. ‘Ahh.. solved the problem for this session’. How foolish, forgot the google. Cud have found atleast one solution and rest in ease for all session.

Well, I did found a one good solution (after countless ‘ok’ clicks), which if you want to know in details, then go here. The page content will explain what is ‘JavaHL’ , why do you get it in first place and how to fix the issue across different platforms. I haven’t faced this popup error on window platform but it’s common in linux (tried couple of distro, installed eclipse with subclipse plugin and got popup in each one).

To get out of this error simple set Subeclipse to use Pure Java SVN kit instead of using JavaHL that uses JNI.
For this, in eclipse IDE
Go to Windows -> Preferences
Go to Team -> SVN
Go to SVN Interface
Set Client to SVNKit (Pure Java) instead of JavaHL which requires JNI

Leave a comment

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.