First of all to determine the subclipse version, the current latest version is 1.10.x, the corresponding subversion is 1.8.x, the relationship is as follows: http://subclipse.tigris.org/wiki/JavaHL#head-5ccce53a67ca6c3965de863ae91e2642eab537de
Subclipse Version |
SVN/JavaHL Version |
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 |
Currently, the subversion of the Ubuntu 13.04 Application Center is: subversion 1.7.5-1ubuntu3. 1. Therefore, subclipse of 1.10.x cannot be installed.
Install subclipse1.8.x, eclipse-> install new software --> add subclipse1.8.x address. After pending, select and install all sub-items.
After you restart eclipse, a javahl search error occurs. error message:
Failed to load JavaHL Library.These are the errors that were encountered:no libsvnjavahl-1 in java.library.pathno svnjavahl-1 in java.library.pathno svnjavahl in java.library.pathjava.library.path = /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Solution
If you do not need to use JavaHL, Subclipse also provides a pure-Java svn api library -- SVNKit (http://svnkit.com ). just install the SVNKit client adapter and library plugins from the Subclipse update site and then choose it in the preferences under Team> SVN.
Go to Eclipse> Preferences> Team> SVN Under "SVN interface", choose client"SVNKit (Pure Java) SVNKit v. xx". Worked for me.
I can do this. If not, try restarting Eclipse.
Recommended reading:
How to solve the Failed to load JavaHL Library error reported by Subclipse after Ubuntu is upgraded to 12.04
For details about Subclipse, click here
Subclipse: click here