`
everlook
  • 浏览: 111667 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

mac下eclipse的svn插件的安装

    博客分类:
  • mac
阅读更多
在mac下使用eclipse,想使用svn插件结果老是报
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,svn终于可以用了,enjoy it!



参考文档http://subclipse.tigris.org/wiki/JavaHL#head-7498d204a5be83e0e97d196ba75fc797d5f0c822
1
2
分享到:
评论
5 楼 yourgame 2012-12-28  
天籁の圁 写道
在安装完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
4 楼 天籁の圁 2012-05-19  
还要先装xcode才能搞中这东西啊? 太不公平了。
我就只想装个ecipse写java。。。
3 楼 天籁の圁 2012-05-19  
在安装完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?
2 楼 seamount 2012-02-09  
补充一下,我是32位系统
1 楼 seamount 2012-02-09  
您好,我按照您的步骤一步步做了,可还是报那个Incompatible JavaHL library loaded.  1.7.x or later required. 的错误,不知道是哪里的问题,我用的是雪豹10.6.8

相关推荐

Global site tag (gtag.js) - Google Analytics