The Reason:
Subclipse uses the official Java to C (JavaHL) bindings provided by the Subversion team. On OS/X these aren’t installed by default. Just installing Subversion won’t give them either.
The Soultion:
Use Homebrew to Install Subversion and get the JavaHL bindings necessary for Subclipse.
Steps:
1. Install Homebrew if it does not exist.
- Open a terminal window and run the following command to install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2. Uninstall older Subversion(s).
- Run this command to remove the older versions
brew uninstall svn
3. Install Subversion and get the JavaHL bindings necessary for Subclipse.
- Run this command to remove the older versions
brew install --universal --java subversion
4. When Homebrew finishes building Subversion and the JavaHL bindings it will display this:
You may need to link the Java bindings into the Java Extensions folder: sudo ln -s /usr/local/lib/libsvnjavahl-1.dylib /Library/Java/Extensions |
---|
Go ahead and run the sudo
command above.
5. Subclipse should automatically start working. You don’t even need to restart Eclipse if you had it running.