Java.lang.unsatisfiedlinkerror:d:\apache-tomcat-7.0.52\bin\tcnative-1.dll:can ' t load AMD 64-bit. dll on a IA 32-bit pla Tform

Source: Internet
Author: User

As the headline, early in the morning encountered this error:

Java.lang.unsatisfiedlinkerror:d:\apache-tomcat-7.0.52\bin\tcnative-1.dll:can ' t load AMD 64-bit. dll on a IA 32-bit pla Tform

Although it does not affect the operation of the project, but I think the heart is always not practical.

So look up all kinds of information, now summarized as follows:
1. Check myeclipse->help->about myeclipse Enterprise workbench->installation details-> Find the x86 or x86_64 keyword in the configuration, where you can view its version

2. Check whether Tomcat is 32-bit or 64,

3. Finally, check the JDK installation directory, according to the PC operating system select the appropriate JDK installation package, if the operating system is 32-bit, should be installed in the C:\Program Files (x86) directory, the general installation will default, but also pay attention. Conversely, the 64-bit installation package should be placed in the C:\Program Files directory.

Record the Environment configuration:

Classpath

.; %java_home%\lib;%java_home%\lib\tools.jar

Java_home

C:\Program Files (x86) \java\jdk1.7.0_13

Path

%java_home%\bin;%java_home%\jre\bin;

I had a problem at the last step because my installation package was 64-bit and I was installed in the x86 directory. After correcting, start Tomcat and the problem is not reproduced.

Java.lang.unsatisfiedlinkerror:d:\apache-tomcat-7.0.52\bin\tcnative-1.dll:can ' t load AMD 64-bit. dll on a IA 32-bit pla Tform

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.