简体   繁体   English

无法在Windows 2008服务器系统的AMD 64位平台上加载IA 32位.dll

[英]Can't load IA 32-bit .dll on a AMD 64-bit platform on windows 2008 server system

Today when i migrate a project from old server to new server, i encounter this problem when i test the deployed service codes. 今天,当我将项目从旧服务器迁移到新服务器时,在测试已部署的服务代码时会遇到此问题。 javax.servlet.ServletException: java.lang.UnsatisfiedLinkError: E802: Can't load shared library. javax.servlet.ServletException:java.lang.UnsatisfiedLinkError:E802:无法加载共享库。 E:\\Rochade\\bin\\msvcr71.dll E:\\Rochade\\bin\\msvcr71.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform no msvcr71 in java.library.path E:\\ Rochade \\ bin \\ msvcr71.dll E:\\ Rochade \\ bin \\ msvcr71.dll:无法在AMD 64位平台上加载IA 32位.dll在java.library.path中没有msvcr71

i googled it on the internet and found some tips on installing a 36 bit jdk, i tried but didn't sovle the problem, does any one has any comment on this? 我在互联网上搜索了它,发现了安装36位jdk的一些技巧,我尝试过但未解决问题,有人对此有何评论? i am really in hurry to get this problem solved, which is the road block for us moving forward on the migration process. 我真的很想解决这个问题,这是我们在迁移过程中前进的障碍。

I think you cannot load library compiled for 32-bit architecture in 64-bit environment. 我认为您无法在64位环境中加载针对32位体系结构编译的库。

Solution is to recompile the library for x64 or obtain 64-bit version if you do not have its sources. 解决方案是为x64重新编译该库,或者在没有源的情况下获得64位版本。

You either can use a 32-bit JVM or install the 64-bit version of the Microsoft Visual Studio C/C++ Redistributable Package. 您可以使用32位JVM,也可以安装64位版本的Microsoft Visual Studio C / C ++可再发行组件包。 Or better reinstall the software on the new server. 或者最好在新服务器上重新安装软件。 Moving only the folders to a new computer is not a good idea on Windows, especially when the old PC was a 32-bit system and the new PC is a 64-bit system. 在Windows上,仅将文件夹移动到新计算机不是一个好主意,尤其是当旧PC是32位系统而新PC是64位系统时。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM