这是我试图关注的指南 http://subclipse.tigris.org/wiki/JavaHL 但我的代码不起作用。
错误:
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 = -/usr/lib/x86_64-linux-gnu/jni/libsvnjavahl-1.so
SVN版
SVN版本1.8.8(r1568071)于2014年8月13日,17:12:39编译 x86_64的-PC-Linux的GNU
vinicius@ubuntu:~$ sudo find / -name libsvnjavahl-1.so
/usr/lib/x86_64-linux-gnu/jni/libsvnjavahl-1.so
我的eclipse.ini文件:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-Djava.library.path=-/usr/lib/x86_64-linux-gnu/jni/libsvnjavahl-1.so
可能导致此错误的原因是什么?如何解决?
答案 0 :(得分:1)
这是问题所在:
-Djava.library.path = - / usr / lib中/ x86_64的-Linux的GNU / JNI / libsvnjavahl-1.so
应该是:
-Djava.library.path = - / usr / lib中/ x86_64的-Linux的GNU / JNI