ubuntu下eclipse svn插件安装

eclipse启动后,svn插件报错:

 

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 

 

解决办法:到http://www.pkgs.org下载libsvn-java_1.6.12dfsg-1ubuntu1.3_i386.deb,安装后修改eclipse.ini

添加-Djava.library.path=/usr/lib/jni,如下

 

-showsplash
org.eclipse.platform
-framework
plugins/org.eclipse.osgi_3.4.0.v20080605-1900.jar
-vmargs
-Djava.library.path=/usr/lib/jni
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m

你可能感兴趣的:(ubuntu下eclipse svn插件安装)