mac下eclipse的svn插件的安装

本文介绍在Mac OS X 10.6.8环境下解决Eclipse SVN插件加载失败的问题。通过安装Subclipse最新版及Subversion 1.6.17,并更新JavaHL来解决版本不兼容的错误。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在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,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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值