Centos eclipse environment Configuration

Source: Internet
Author: User
Tags sonatype

Eclipse uses the Jee version:

Http://mirror.bit.edu.cn/eclipse/technology/epp/downloads/release/indigo/SR2/eclipse-jee-indigo-SR2-linux-gtk-x86_64.tar.gz

 

SVN installation address: http://subclipse.tigris.org/update_1.8.x

Maven plug-in address (installed in order ):

Http://m2eclipse.sonatype.org/sites/m2e

Http://m2eclipse.sonatype.org/sites/m2e-extras

 

When eclipse is used, the following error will be reported:

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

 

If the javahl library of subversion is missing, install it:

Yum install subversion-javahl.x86_64 # if not 64-bit, you can use the command Yum search subversion-javahl to query specific information

 

View the installation path for the subversion-javahl.x86_64, and use the command: rpm-QL subversion-javahl to display the following:

/Usr/lib64/libsvnjavahl-1.la

/Usr/lib64/libsvnjavahl-1.so

/Usr/lib64/libsvnjavahl-1.so.0

/Usr/lib64/libsvnjavahl-1.so.0.0.0

/Usr/share/Java/svn-javahl.jar

 

Add the following variables to the eclipse. ini file:

-Djava. Library. Path =/usr/lib64/

Restart and the error disappears!

 

However, the following error may occur:

Incompatible javahl library loaded. 1.7.x or later required. If javahl is installed, it is still reported that the version is low.

Open eclipse preferences, go to team-SVN, and select svnkit from the svn interface in the settings. OK. The problem is solved.

 

Reference: http://www.blogchen.com/archives/587.html

Http://bbs.php100.com/apps.php? Q = diary & A = detail> did = 3266 & uid = 160934

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.