情况描述:eclipse安装完svn后,重启时提示:subversion native library not available。
Failed to load JavaHL Library.
These are the errors that were encountered:
no msvcp100 in java.library.path
C:\eclipse4.6\configuration\org.eclipse.osgi\971\0\.cp\libsvnjavahl-1.dll: Can't find dependent libraries
no svnjavahl-1 in java.library.path
no svnjavahl in java.library.path
java.library.path = C:\java\jdk1.8.0_92\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\java\jdk1.8.0_92\bin;C:\Program Files\TortoiseSVN\bin;C:\java\apache-maven-3.2.1\bin;C:\Program Files (x86)\MySQL\MySQL Utilities 1.3.6\;C:\Program Files (x86)\Subversion\bin;C:\Program Files\MySQL\MySQL Server 5.6\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Users\Administrator\bat;.
如图:
原因:未知
解决办法:在eclipse中选择 “Windows” -> Perferences。 然后通过左上方的筛选,选出svn设置菜单,点解左侧的“SVN”。 在设置面板有下方,SVN interface 中,Client选择 SVNKit。然后保存即可。如下图:
原文地址:http://blog.youkuaiyun.com/geloin/article/details/7488284