ubuntu myeclipse安装svn插件,unable to load default svn client问题

启动时会提示:

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/jni/

 

这个提示已经比较明显了,我们需要安装

 root@ubuntu:~# sudo apt-get install libsvn-java

并在安装myeclipse8.6.1目录下,修改myeclipse.ini文件,在"-vmargs"之后增加

-Djava.library.path=/usr/share/java/
-Djava.library.path=/usr/lib/jni/

重启myeclipse8.6.1,就OK了。问题可以解决!

你可能感兴趣的:(java,SVN,MyEclipse,ubuntu,jni)