These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
no svnjavahl in java.library.path
java.library.path = /Users/jason/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
解决:
根据上图中得链接提示,跳转到http://www.macports.org/install.php下载MacPorts并安装。
安装完之后,终端执行 sudo port install subversion-javahlbindings +no_bdb +universal 。
如果出现错误:
Error: Port subversion-javahlbindings not found
继续执行 sudo port -v selfupdate
以上步骤完成之后,即可重新启动eclipse,此时subclipse即可使用了。
终端文字实录:
Last login: Wed Jun 18 08:57:38 on ttys000
jasondeabroadVPN:~ jason$ sudo port install subversion-javahlbindings +no_bdb +universal
Password:
Error: Port subversion-javahlbindings not found
jasondeabroadVPN:~ jason$ xcode-select --install
xcode-select: note: install requested for command line developer tools
jasondeabroadVPN:~ jason$ sudo port install subversion-javahlbindings +no_bdb +universal
Password:
Error: Port subversion-javahlbindings not found
jasondeabroadVPN:~ jason$ sudo port install subversion-javahlbindings
Password:
Error: Port subversion-javahlbindings not found
jasondeabroadVPN:~ jason$ sudo port -v selfupdate
---> Updating MacPorts base sources using rsync
receiving file list ... done
base.tar
sent 31264 bytes received 233081 bytes 7890.90 bytes/sec
total size is 27002880 speedup is 102.15
receiving file list ... done
base.tar.rmd160
sent 64 bytes received 635 bytes 155.33 bytes/sec
total size is 512 speedup is 0.73
MacPorts base version 2.3.0 installed,
MacPorts base version 2.3.0 downloaded.
---> Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar
receiving file list ... done
ports.tar
sent 58 bytes received 12350890 bytes 18393.07 bytes/sec
total size is 61337600 speedup is 4.97
receiving file list ... done
ports.tar.rmd160
sent 58 bytes received 636 bytes 277.60 bytes/sec
total size is 512 speedup is 0.74
receiving file list ... done
PortIndex
sent 58 bytes received 1496732 bytes 176092.94 bytes/sec
total size is 10641251 speedup is 7.11
receiving file list ... done
PortIndex.rmd160
sent 58 bytes received 636 bytes 277.60 bytes/sec
total size is 512 speedup is 0.74
---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you should run
port upgrade outdated
jasondeabroadVPN:~ jason$
mac eclipse svn subeclipse: Failed to load JavaHL Library.,布布扣,bubuko.com