Installing JavaHL for Mavericks

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.

Assumptions:

You already have installed Eclipse and Subclipse(1.10.x, not 1.6.x) on your mac and Subclipse is not working to connect to remote

Subversion repository.


1. Install Homebrew if it does not exist.Steps:

    - 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 install Subversion and get JavaHL bindings

      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

     Run the sudo command above.

 5. Subclipse should now work. 

 

 Â