The vast majority of cases where the error "Failed to load Javahl Library" is in use of the Linux environment, which is the case with Eclipse integration with SVN in a Linux environment. There are many ways to deal with this error on the web, which is not listed here, only provides a reference url:http://www.cnblogs.com/feng_013/archive/2010/07/22/1783228.html
The same error message appears in the 64-bit Win7 environment, which should be the reason for the 64-bit system.
The workaround is simple, download the 64-bit SVN client:slik-subversion-1.6.15-x64.msi,
Address: Http://www.sliksvn.com/en/download
Simply select the client at installation (the installation interface can be customized to install the client and server side), and then restart Eclipse to use SVN normally.
In fact, before installing the 64-bit slik-subversion, the machine has installed 64-bit TortoiseSVN-1.6 and is a client of SVN, but the SVN plugin integrated with Eclipse does not seem to use it.
(Original address: http://bjyzxxds.iteye.com/blog/857525)
I follow the above method to do, found that the problem still exists, so continue to search, and found the following posts:
Most recently, when using MyEclipse's SVN plugin, a large dialog box was always popped to report a failed to load Javahl Library. Error
View Plain
- Failed to load Javahl Library.
- These is the errors that were encountered:
- D:\Genuitec\Common\plugins\org.tigris.subversion.clientadapter.javahl.win32_1. 6.17\ssleay32.dll: The operating system cannot run%1.
- D:\Genuitec\Common\plugins\org.tigris.subversion.clientadapter.javahl.win32_1. 6.17\libsvn_subr-1. DLL: The specified program could not be found.
- D:\Genuitec\Common\plugins\org.tigris.subversion.clientadapter.javahl.win32_1. 6.17\libsvn_delta-1. DLL: The specified program could not be found.
- D:\Genuitec\Common\plugins\org.tigris.subversion.clientadapter.javahl.win32_1. 6.17\libsvn_diff-1. DLL: The specified program could not be found.
- D:\Genuitec\Common\plugins\org.tigris.subversion.clientadapter.javahl.win32_1. 6.17\libsvn_wc-1. DLL: The specified program could not be found.
- D:\Genuitec\Common\plugins\org.tigris.subversion.clientadapter.javahl.win32_1. 6.17\libsvn_fs-1. DLL: The specified program could not be found.
- D:\Genuitec\Common\plugins\org.tigris.subversion.clientadapter.javahl.win32_1. 6.17\libsvn_repos-1. DLL: The specified program could not be found.
- D:\Genuitec\Common\plugins\org.tigris.subversion.clientadapter.javahl.win32_1. 6.17\libsvn_ra-1. DLL: The specified program could not be found.
- D:\Genuitec\Common\plugins\org.tigris.subversion.clientadapter.javahl.win32_1. 6.17\libsvn_client-1. DLL: The specified program could not be found.
- D:\Genuitec\Common\plugins\org.tigris.subversion.clientadapter.javahl.win32_1. 6.17\libsvnjavahl-1. DLL: The specified program could not be found.
- No svnjavahl-1 in Java.library.path
- No Svnjavahl in Java.library.path
- Java.library.path = D:\Genuitec\MyEclipse7.5;.; C:\WINDOWS\Sun\Java\bin; C:\WINDOWS\system32; C:\WINDOWS;
- D:/genuitec/common/binary/com.sun.java.jdk.win32.x86_1. 6.0.013/jre/bin/client;
- D:/genuitec/common/binary/com.sun.java.jdk.win32.x86_1. 6.0.013/jre/bin;d:\tomcat5\bin; F:\Java\jdk1. 5\bin;
- D:\apache-ant-1.8. 1\bin; F:\Java\jdk1. 5\bin; C:\WINDOWS\system32; C:\WINDOWS; C:\WINDOWS\System32\Wbem;
- C:\Program Files\Common Files\thunder Network\kankan\codecs;d:\server\mysql\bin;d:\program Files\TortoiseSVN\bin
It doesn't really affect normal use, but when you make up your code, it's annoying to pop a big box.
So on the network to find the answer, according to one of the methods to operate, sure enough no longer error.
The law is:
1.WINDOWS->PREFERENCES->TEAM->SVN->SVN interface
2. Select Svnkit (Pure Java) xxxxxx
As shown
No more error after reboot.
Additional solutions are attached (untested, incorrect or not):
After installing eclipse
Go to menu Help->install new Software...->add ... Address selection, if the version of Eclipse installed is more than 3.2
I'm afraid no one has installed the old version, so use the following address http://subclipse.tigris.org/update_1.6.x specific version information see download and in http://subclipse.tigris.org Install page
then click OK.
Select All
Installation
Restart Eclipse. New sources in the SVN repository study
You can test svn://www.svnhost.cn/test with the following address and click Expand to see what's inside.
If not successful
1. Open the Eclipse.ini file, add a line at the end-djava.library.path=/usr/lib/jni and then restart Eclipse
2. Or select the SVN interface in WINDOWS->TEAM->SVN to Svnkit ... Save exit
Previously unable to connect to the source, change the interface is not successful, reported incompatible Javahl library loaded error.
In fact, the subclipse version is wrong. Uninstall the new version of the reload.
Uninstall is selected in Help->about eclipse->installation details.
Problems you may encounter: Javahl issues with Ubuntu Eclipse installation Subclipse Plugin
Subclipse installs the Windows version of Eclipse and installs all dependent files automatically, but does not change to Ubuntu.
There should be too many versions of Linux. It is not possible to write a program for each version. So I can do it by myself.
First step phenomenon
The following error occurs when you click Eclipse's Window->preferences->team->svn "Preferences:
Failed to load Javahl Library.
These is 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/jvm/java-6-sun-1.6.0.03/jre/lib/i386/client::/usr/lib/jvm/java-6-sun-1.6.0.03/jre/ Lib/i386::/usr/lib/firefox:/usr/lib/firefox/:/usr/java/packages/lib/i386:/lib:/usr/lib
Second Step installation
Javahl sudo apt-get install libsvn-java eclipse Directory Eclipse.ini add-djava.library.path=/usr/lib/jni After doing this, start eclipse again Problem solved.
(Original address: http://www.blogjava.net/lyjjq/articles/361321.html)
"Go" 64-bit Win7 environment Eclipse integrated SVN after failed to load Javahl library solution