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