eclipse unable to load default svn client
Incompatible JavaHL library loaded. 1.7.x or later required.
折腾了好久,终于搞定了,记录下。
首先我的系统mac os x 10.6.8 64位的系统
在eclipse官网下载了eclipse-java-indigo-SR1-macosx-cocoa-x86_64
在eclipse中help--》install new software --》add
我选择的subclipse最新的版本http://subclipse.tigris.org/update_1.8.x
然后又去http://www.open.collab.net/downloads/community/
下载了一个Universal Subversion 1.6.17 Binaries for Snow Leopard (Mac OS X 10.6)
安装上
之后发现javahl仍然冲突,我们需要自己更新下javahk
去http://www.macports.org/install.php下载工具MacPorts
在安装完MacPorts以后,在终端下执行下面的命令sudo port install subversion-javahlbindings,安装javahl
此时重启eclipse,OK
----------------------------------------------------
在安装完MacPorts以后,在终端下执行下面的命令sudo port install subversion-javahlbindings,安装javahl
到这一步的时候出现问题
Error:
Error: No Xcode installation was found.
Error: Please install Xcode and/or run xcode-select to specify its location.
Error:
Warning: xcodebuild exists but failed to execute
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
---> Computing dependencies for subversion-javahlbindingsError: 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?
macports 安装编译错误
Warning: The Command Line Tools for Xcode don't appear to be installed; most ports will likely fail to build.
Warning: See http://guide.macports.org/chunked/installing.xcode.html for more information.
—> Computing dependencies for subversion-javahlbindingsError: 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?
打开Xcode–》偏好设置–》download–》install command line tools