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