进入http://subclipse.tigris.org/wiki/JavaHL网站发现这张表
Subclipse Version |
SVN/JavaHL Version |
1.12.x |
1.9.x |
1.10.x |
1.8.x |
1.8.x |
1.7.x |
1.6.x |
1.6.x |
1.4.x |
1.5.x |
1.2.x |
1.4.x |
1.0.x |
1.4.x |
然后在与以上表格同一网页中发现
OSX comes with a SVN command line client, but unfortunately they do not include the JavaHL library.
The best thing to do is to install one of the OSX package managers for open-source software, such as MacPorts or HomeBrew. If you are doing software development on OSX, you are going to eventually want or need different open-source Unix applications. So it is worth the effort to set one of these up and they make it easy for you to get Subversion and always have the latest version. You will also have easy access to other open source applications via similar simple commands.
For MacPorts, the commands to run are:
sudo port install subversion-javahlbindings +no_bdb +universal
For HomeBrew the command is:
brew install --universal --java subversion
Pay attention to any post-install instructions related to creating a symlink in /Library/Java/Extensions. You need to follow these instructions so that the JavaHL library is available by default to the JVM.
但一运行
sudo port install subversion-javahlbindings +no_bdb +universal提示sudo:port:命令不存在,查了下是没安装macPorts,所以开始安装。
http://koda.iteye.com/blog/1608041根据这篇博文本人开始安装了
到https://www.macports.org/install.php下载安装包
安装完后
然后将/opt/local/bin和/opt/local/sbin添加到$PATH搜索路径中
编辑/etc/profile文件中,加上
export PATH=/opt/local/bin:$PATH
export PATH=/opt/local/sbin:$PATH
更新ports tree和MacPorts版本
sudo port -v self update
sudo port install subversion-javahlbindings +no_bdb +universal执行这句需要点时间,至少半个小时。
然后根据https://github.com/subclipse/subclipse/wiki/JavaHL-on-OSX上提示执行
sudo mkdir -p /Library/Java/Extensions
sudo ln -s /usr/local/lib/libsvnjavahl-1.dylib /Library/Java/Extensions/libsvnjavahl-1.dylib
好了,打开你的eclipse或my eclipse发现每次启动恼人的提示没了。