Java 无法在 AMD 64 位平台上加载 IA 32 位 .dll
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/29394163/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Can't load IA 32-bit .dll on a AMD 64-bit platform
提问by Ishan BG
Error loading win32com: java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jdk1.7.0_51\jre\bin\win32com.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
加载 win32com 时出错:java.lang.UnsatisfiedLinkError:C:\Program Files\Java\jdk1.7.0_51\jre\bin\win32com.dll:无法在 AMD 64 位平台上加载 IA 32 位 .dll
when I using a project for send sms to phones, I got above error. I have a machine with AMD processor. please help me by descriptive answer. thanks a lot !
当我使用项目向手机发送短信时,出现上述错误。我有一台带有 AMD 处理器的机器。请通过描述性答案帮助我。多谢 !
采纳答案by Kun
Try that:
试试看:
Download and install a 32-bit JDK.
Go to eclipse click on your project(Run As-> Run Configurations...) under Java Application branch.
Go to the JRE tab and select Alternate JRE. Click on Installed JRE button, add your 32-bit JRE and select it.
下载并安装 32 位 JDK。
转到 Eclipse 单击 Java 应用程序分支下的项目(运行方式-> 运行配置...)。
转至 JRE 选项卡并选择备用 JRE。单击 Installed JRE 按钮,添加您的 32 位 JRE 并选择它。