Eclipse Subclipse错误解决

今天Eclipse的SVN插件Subclipse突然不好使了,报的错误信息是:

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.20/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/i386:/usr/lib/xulrunner-addons:/usr/lib/xulrunner-addons:/usr/java/packages/lib/i386:/lib:/usr/lib

Google了一下,是因为Subclipse使用的javaHL连接器有了问题

马上重新安装一下:sudo apt-get install libsvn-java

然后在eclipse.ini中-vmargs下增加参数-Djava.library.path=/usr/lib/jni

重启Eclipse,搞定~~~~

你可能感兴趣的:(eclipse,subversion,javahl)