Install the SVN plug-in for Eclipse in Ubuntu11.10

Source: Internet
Author: User
Just installed on the Ubuntu system, today upgraded to 11.10, install the Eclipse svn plug-in Subclipse after, start Eclipse will report an error, prompting that you can not find the libsvnjavahl-1, after a variety of search attempts, finally got it done. First, my Eclipse version is Indigo and the Svn plug-in version is. * (the required javahl version is .*). According to the search on the Internet, it is not feasible to install plug-ins only in linux. You also need to install lib

Just installed on the Ubuntu system, today upgraded to 11.10, install the Eclipse svn plug-in Subclipse after, start Eclipse will report an error, prompting that you can not find the libsvnjavahl-1, after a variety of search attempts, finally got it done.

First, my Eclipse version is Indigo and the Svn plug-in version is. * (the required javahl version is .*).

According to the search on the Internet, it is not feasible to install plug-ins only in linux. You also need to install libsvn-javahl. Although you do not know what it is, install it.

Ubuntu 1.7 is easy to install. You only need to execute sudo apt-get install libsvn-java, but it does not seem to be version. But I am looking for another method.

We can find version 1.7 here, but it is an rpm package. It doesn't matter. Let's talk about it first. Get File CollabNetSubversion-client-1.7.3-2.i386.rpm

Then the problem to be solved is to install the rpm package. Fortunately, we found that there is a software under Ubuntu that can convert rpm to deb. What we need is him.

Install: sudo apt-get install alien

Conversion: sudo alien -- scripts CollabNetSubversion-client-1.7.3-2.i386.rpm

A CollabNetSubversion-client-1.7.3-2.i386.deb file will be generated in the same folder, double-click to install it.

After the installation is complete, an error will still be reported when Eclipse is started, because there is no required source file in the lib file scanned by the SVN plug-in. You need to copy the source file here.

When an error is reported during Eclipse startup, SVN scans the jre/lib/i386 folder under the jdk installation directory. Therefore, the source file must be reliable to this directory. Find it under the CollabNetSubversion-client-1.7.3-2.i386 you just installed, generally you can find it here:/opt/CollabNet_Subversion, and then find the following three files in the lib folder, libsvnjavahl-1.so, libsvnjavahl-1.so.0, libsvnjavahl-1.so.0.0.0 and copy it to the jre/lib/i386 folder under the jdk installation directory.

OK. If you restart Eclipse, no error will be reported. You just downloaded the lucene source code using SVN to prove that it works properly. If you encounter other problems, find a solution.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.