Failed to Load Javahl Library.- Linux/Eclipse

Failed to load JavaHL Library

If you do not need to use JavaHL, Subclipse also provides a pure-Java SVN API library -- SVNKit (http://svnkit.com). Just install the SVNKit client adapter and library plugins from the Subclipse update site and then choose it in the preferences under Team > SVN.

Failed to load JavaHL Library.- linux/eclipse

I was annoyed by that message so I did this and it disappeared!

Sample Image

Subclipse not recognizing my JavaHL

Okay I have found it...

The problem was in my eclipse.ini file, which looked like this:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-Xms40m
-Xmx512m
-vmargs
-Djava.library.path="/usr/lib/x86_64-linux-gnu/jni"

I had to remove the extra quotes: -Djava.library.path="/usr/lib/x86_64-linux-gnu/jni" to -Djava.library.path=/usr/lib/x86_64-linux-gnu/jni.

That fixed it.

JavaHL Library not found error

Thanks to mliebelt for directing me in the right direction. I was using 32-bit eclipse but had tortoise 64 bit installed and SVN+SSH environment variable was set to

C:\Program Files (x86)\TortoiseSVN\bin\TortoisePlink.exe. I just uninstalled Tortoise 64bit and installed its 32 bit version. The problem has now went away. :)

SVN error on connecting with eclipse

window -> preferences -> team -> svn 

Choose SVN Interface:

client : SVNKit (Pure Java)

Apply and try again.

Error Failed to load java HL library on importing svn project in Eclipse

Can you receive your svn repository via svn on the commandline? You should try to get it there and then import it to eclipse via File->Import.... That also adds the usual SVN capabilities to the eclipse project if the svn plugin is installed correctly.

What svn plugin are you using? There are subversive and subclipse, and I had different experiences using either of them.

Could you fetch any other svn repository via the dialog? Just get one on github(click Subversion right there where you get the git url) and try to get it.



Related Topics



Leave a reply



Submit