After updating to Mac OSX Lion I find that I m unable to use Subclipse. I keep getting this error:
Unable to load default SVN client
Any ideas on how to res开发者_如何学JAVAolve this issue?
I m using Eclipse Indigo.
Have you tried downloading SVNKit
from the update site of Subclipse?
Go to Install New Software and select the Subclipse update site. Select the JNA and SVNKit library as well as the SVNKit Client Adapter.
After, change the interface from JavaHL to SVNKit in the Preferences → Team → SVN → SVN Interface.
For anyone receiving the error:
Incompatible JavaHL library loaded. 1.7.x or later required.
Using the latest Eclipse Indigo standard 3.7.1 and the latest Subclipse plugin from CollabNet (Collabnet Desktop 3.1.0 for Eclipse 3.5-3.7) for OS X, the problem is not the version of the Subclipse plugin files, it is the actual version of Subversion you have installed. Collabnet does not yet offer the 1.7 SVN package for OS X, you need to get it from WanDisco.This messed me up for hours.
if you have subclipse version 1.8.x installed, you can also downgrade to 1.6.x
that solved the problem for me
here's the repository: http://subclipse.tigris.org/update_1.6.x
just make sure to remove everything that's related to the higher versions of subclipse (client adapter, etc.)
I ran into a similar problem when I tried to re-install subclipse after installing Lion. The subversion client that subclipse uses relies on a javahl bridge which you can normally get as a community release from collab.net. The problem is that the latest version only supports 10.6 and no version yet exists for 10.7.
I solved my need to interface with a subversion repository through eclipse by switching from the subclipse plugin to the subversive plugin which does have a supported bridge. I know this doesn't exactly answer how to get subclipse working but it was an alternative that worked for me and as far as I know might be the only solution until a javahl package supporting 10.7 is available.
Open this file :
sudo pico /System/Library/CoreServices/SystemVersion.plist
change version to 10.6 wherever you see 10.7 install subversion change back to 10.7
Ilias
精彩评论