After the 64-bit win7 environment eclipse integrates svn, the solution for Failed to load JavaHL Library appears, win7svn

Source: Internet
Author: User
Tags svn client tortoisesvn

After the 64-bit win7 environment eclipse integrates svn, the solution for Failed to load JavaHL Library appears, win7svn

The vast majority of errors "Failed to load JavaHL Library" occur in the Linux environment. This situation occurs when you use eclipse to integrate svn in the Linux environment. A lot of ways to handle this error in Linux is not listed here, just provide a Reference URL: http://www.cnblogs.com/feng_013/archive/2010/07/22/1783228.html

The same error message may also appear in the 64-bit win7 environment, which should be the cause of the 64-bit system.
The solution is very simple, download 64-bit SVN Client: Slik-Subversion-1.6.15-x64.msi,
Address: http://www.sliksvn.com/en/download
During installation, you only need to select the client (the installation interface can customize the installation client and server), and then restart eclipse to use svn normally.

In fact, before installing 64-bit Slik-Subversion, the local machine has installed a 64-bit TortoiseSVN-1.6, is also a client of svn, but integrated with eclipse svn plug-in does not seem to use it.

(Original address: http://bjyzxxds.iteye.com/blog/857525)

After I followed the above methods, I found that the problem still exists, so I continued to search and found the following post:

Recently, when MyEclipse SVN plug-in is used, a large dialog box is always displayed, and a Failed to load JavaHL Library error is reported.

View plain
  1. Failed to load JavaHL Library.
  2. These are the errors that were encountered:
  3. D: \ Genuitec \ Common \ plugins \ org. tigris. subversion. clientadapter. javahl. win32_1.6.17 \ ssleay32.dll: the operating system cannot run % 1.
  4. D: \ Genuitec \ Common \ plugins \ org. tigris. subversion. clientadapter. javahl. win32_1.6.17 \ libsvn_subr-1.dll: the specified program cannot be found.
  5. D: \ Genuitec \ Common \ plugins \ org. tigris. subversion. clientadapter. javahl. win32_1.6.17 \ libsvn_delta-1.dll: the specified program cannot be found.
  6. D: \ Genuitec \ Common \ plugins \ org. tigris. subversion. clientadapter. javahl. win32_1.6.17 \ libsvn_diff-1.dll: the specified program cannot be found.
  7. D: \ Genuitec \ Common \ plugins \ org. tigris. subversion. clientadapter. javahl. win32_1.6.17 \ libsvn_wc-1.dll: the specified program cannot be found.
  8. D: \ Genuitec \ Common \ plugins \ org. tigris. subversion. clientadapter. javahl. win32_1.6.17 \ libsvn_fs-1.dll: the specified program cannot be found.
  9. D: \ Genuitec \ Common \ plugins \ org. tigris. subversion. clientadapter. javahl. win32_1.6.17 \ libsvn_repos-1.dll: the specified program cannot be found.
  10. D: \ Genuitec \ Common \ plugins \ org. tigris. subversion. clientadapter. javahl. win32_1.6.17 \ libsvn_ra-1.dll: the specified program cannot be found.
  11. D: \ Genuitec \ Common \ plugins \ org. tigris. subversion. clientadapter. javahl. win32_1.6.17 \ libsvn_client-1.dll: the specified program cannot be found.
  12. D: \ Genuitec \ Common \ plugins \ org. tigris. subversion. clientadapter. javahl. win32_1.6.17 \ libsvnjavahl-1.dll: the specified program cannot be found.
  13. No svnjavahl-1 in java. library. path
  14. No svnjavahl in java. library. path
  15. Java. library. path = D: \ Genuitec \ MyEclipse7.5;.; C: \ WINDOWS \ Sun \ Java \ bin; C: \ WINDOWS \ system32; C: \ WINDOWS;
  16. D:/Genuitec/Common/binary/com. sun. java. jdk. win32.x86 _ 1.6.0.013/jre/bin/client;
  17. D:/Genuitec/Common/binary/com. sun. java. jdk. win32.x86 _ 1.6.0.013/jre/bin; D: \ Tomcat5 \ bin; F: \ Java \ jdk1.5 \ bin;
  18. D: \ apache-ant-1.8.1 \ bin; F: \ Java \ jdk1.5 \ bin; C: \ WINDOWS \ system32; C: \ WINDOWS; C: \ WINDOWS \ System32 \ Wbem;
  19. C: \ Program Files \ Common Files \ Thunder Network \ KanKan \ Codecs; D: \ Server \ MySql \ bin; D: \ Program Files \ TortoiseSVN \ bin

Although it does not affect normal use, it is really uncomfortable to occasionally bring up such a large box when you compile the code.

So I found the answer on the network and followed one of the methods, so no error was reported.

The method is as follows:

1. windows> preferences> Team> SVN Interface

2. Select SVNKit (Pure Java) xxxxxx

As shown in

No error is reported after restart.

Other solutions are attached (I do not know whether the solution is correct without testing ):

After Eclipse is installed

Choose Help> Install new Software...> add.... If the installed Eclipse version is 3.2 or later

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 the Download and Install page in the http://subclipse.tigris.org

Click OK.

Select All

Install

Restart Eclipse. Add a new source in SVN resource library research

Run the following address to test svn: // www.svnhost.cn/test. After adding the address, click expand to view the content.

If not

1. Open the eclipse. ini file and add a line at the end-Djava. library. path =/usr/lib/jni and restart Eclipse.

2. Choose Windows> Team> SVN and select the SVN interface SVNkit... save and exit.

Unable to connect to the source before, and the interface cannot be modified, the Incompatible JavaHL library loaded error is reported.

The subclipse version is incorrect. Uninstall and reinstall the new version.

Uninstall and select from Help> About Eclipse> Installation Details.

Possible problems: javaHL problems encountered when installing the subclipse plug-in ubuntu eclipse

When subclipse is installed in eclipse of windows, all dependent files will be automatically installed, but it will not work if it is changed to ubuntu.

There should be too many linux versions. It cannot write a program for each version. So you have to do it yourself.

Step 1

The following error occurs when you click Window> Preferences> Team> SVN "preferences in eclipse.

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/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/java/packages/lib/i386:/lib:/usr/lib

Step 2 install

Add-Djava. library. path =/usr/lib/jni to eclipse. ini under the javahl sudo apt-get install libsvn-java eclipse directory, and then start eclipse again.

(Original address: http://www.blogjava.net/lyjjq/articles/361321.html)



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.