Solution for failed to load javahl library reported by Subclipse in Ubuntu

Source: Internet
Author: User

Subclipse under Ubuntu reports failed to load javahl library solution Failed to load JavaHL Library. these are the errors that were encountered: no libsvnjavahl-1 in java. library. the path no svnjavahl-1 in java. library. path/opt/local/lib/libsvnjavahl-1.0.0.0.dylib: no suitable image found. did find:/opt/local/lib/libsvnjavahl-1.0.0.0.dylib: mach-o, but wrong architecture was originally missing some associated files, go to subclipse Wiki looked at, said the need to install libsvn-java, the installation in Ubuntu is very simple. The command is as follows: www.2cto.com sudo apt-get install libsvn-java after installation, this file is in the/usr/lib/jni directory, this directory is not eclipse's java. library. path, so you also need to modify eclipse. ini to tell eclipse where to find the libsvn-java file. open eclipse. ini, add the following content in the last line (note the line feed) www.2cto.com-Djava. library. path =/usr/lib/jni pay attention to the location of this jni folder, in ubuntu12.10 is/usr/lib/i386-linux-gnu/jni

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.