SVN插件时总是弹出对话框,报一个Failed to load JavaHL Library.错误
或者 :
第一步 现象
点选eclipse的 Window->Preferences->Team->SVN" preferences: 时就会出现下面的错误
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/jvm/java-6-sun-1.6.0.03/jre/lib/i386/client::/ usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/i386::/usr/lib/firefox:/usr/lib/ firefox/:/usr/java/packages/lib/i386:/lib:/usr/lib
第二步 安装
javahl sudo apt-get install libsvn-java eclipse目录下的eclipse.ini添加 -Djava.library.path=/usr/lib/jni 做完这些后再次启动eclipse 问题迎刃而解.