Solution for FailedtoloadJavaHLLibrary error reported by Subclipse after Ubuntu upgrade to 12.04

Source: Internet
Author: User
After Ubuntu is upgraded to 12.04, Subclipse does not work normally, error: FailedtoloadJavaHLLibrary. Thesearetheerrorsthatwereencountered: nolibsvnjavahl-1injava.library.pathnosvnjavahl-1injava.library.pathnosvnjavah

After Ubuntu is upgraded to 12.04, Subclipse cannot work normally. If it is enabled, an error is returned:

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

It seems that the original specified JavaHL path is invalid. Pass the command:

Sudo find/usr-name libsvnjavahl-1.so

Find the missing files and find that the files are located:

/Usr/lib/x86_64-linux-gnu/jni/libsvnjavahl-1.so

After Ubuntu is upgraded to 12.04, the location of JavaHL Library is changed from/usr/lib/jni to/usr/lib/x86_64-linux-gnu/jni

The solution is to open the eclipse. ini file under the eclipse installation directory

-Djava. library. path =/usr/lib/jni

Change

-Djava. library. path =/usr/lib/x86_64-linux-gnu/jni

You can.

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

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.