在Eclipse Indigo中安装SVN插件后,出现了这个错误,Google了一下发现是JavaHL这个Library出了问题,因为我的Java SDK是64位的,但JavaHL是32位的,于是不兼容。
解决方案:
安装SlikSVN 1.7.x.,这个包里含有JavaHL 64bit的Library,下载地址:http://www.sliksvn.com/en/download
但是问题又出现了,由于我现在用的操作系统是MacOSX Lion 10.7.3,需要用Mac port来安装,装了Mac port用,使用命令安装SlikSVN:
$sudo port install subversion
出现错误:Computing dependencies for subversionError: Unable to execute port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
其中发现有使用到"make"编译指令,用Terminal输入命令:
$make -v
果然,这个系统没有安装make,又Google,需要下