1, the first part of the installation and in Windows is no different: subclipse Web site: http://subclipse.tigris.org/servlets/ProjectProcess? PageID = p4wYuA specifically emphasizes that when I write this article, the latest version of subclipse is 1.8.x, but it is best to download the version 1.6.x later. 2. After installation, the following two problems will occur: (1) the JavaHL library is missing.
1. First, the installation part is not different from that in Windows:
Subclipse Website: http://subclipse.tigris.org/servlets/ProjectProcess? PageID = p4wYuA
It is particularly emphasized that when I write this article, the latest version of subclipse is 1.8.x, but it is best to download the version 1.6.x at this time. The reason will be explained later.
2. The following two problems will occur after installation
(1) The JavaHL library is missing. This problem will not occur during installation on windows.
Failed to load JavaHL Library.
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
However, this problem is obvious. You only need to install the JavaHL library.
The installation command is sudo apt-get install libsvn-java.
After installation, you must change the eclipse configuration file.
Open the eclipse. ini file and add the following two lines under-vmargs:
-Djava. library. path =/usr/share/java/
-Djava. library. path =/usr/lib/x86_64-linux-gnu/jni/
It should be noted that the second line is the library location of the 64-bit system, if it is 32-bit, the location is/usr/lib/i386-linux-gnu/jni/
After the changes, restart eclipse.
(2) The JavaHL library version is inconsistent with the subeclipse version.
Ubuntu Incompatible JavaHL library loaded. 1.7.x or later required
If the subclipse version to be installed is 1.8.x, the version of the required JavaHL library must be 1.7.x or above, but the default version installed through the apt-get install svnlib-java command is 1.6.x, this is why lz did not select the latest version 1.8.x for subclipse installation at the beginning, but chose version 1.6.x.
There are three solutions:
1) uninstall subclipse of version 1.8.x and reinstall version 1.6.x. You can use Help> About eclipse> Installation Details to uninstall the Eclipse plug-in.
2) Change the Client of the SVN interface in the SVN option in eclipse to SVNKit, which can be used again. SVNKit does not use the JavaHL library.
3) install the JavaHL library of version 1.7.x. For details, refer to idea.
So far, the SVN plug-in should be easy to use.
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2