Install the svn plug-in Ubuntu 12.04 eclipse

Source: Internet
Author: User

Reprinted from: http://my.oschina.net/FengJ/blog/56828

In ubuntu 12.04, eclipse usually encounters two problems when installing the svn plug-in:

1) 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
Java. Library. Path =/usr/lib/JNI

According to the previous Installation Method

1. sudo apt-Get install libsvn-Java

2. Add parameters in eclipse. ini.

-Vmargs
-Dosgi. requiredjavaversion = 1.5
-Djava. Library. Path =/usr/lib/JNI

You can, but after the installation and configuration are complete, the error "failed to load javahl library." re-installing libsvn-Java "still does not work. Go to usr/lib/JNI and find that JNI is not a directory. It turns out that the installation directory has changed. Change the JNI path to the following.

-Djava. Library. Path =/usr/lib/i386-linux-gnu/JNI/

If you have installed a 64-bit system, change it:

-Djava. Library. Path =/usr/lib/x86_64-linux-gnu/JNI/

 

2) Ubuntu incompatible javahl library loaded. 1.7.x or later required

Javahl version is too low. In ubuntu 12.04, the version installed through the $ apt-Get install libsvn-Java command is 1.6.x.

If your eclipse version is 3.7.2 and the default subclipse version is 1.8.x, it requires javahl to be above 1.7.

So you need to uninstall subclipse and change it to 1.6.x.

: Http://subclipse.tigris.org/

Http://subclipse.tigris.org/update_1.6.x

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.