2015-05-14

java.lang.UnsatisfiedLinkError: Can't load AMD 64-bit .dll on a IA 32-bit platform



Source URL:

  1. http://blog.csdn.net/zb0567/article/details/7463818
  2. http://linux.programdevelop.com/2899727/

Issue:
java.lang.UnsatisfiedLinkError: Can't load AMD 64-bit .dll on a IA 32-bit platform


java.lang.UnsatisfiedLinkError: JD-Eclipse 编译错误 the java.lang.UnsatisfiedLinkError: JD-Eclipse compile error
分类: java 问题 2012-04-15 22:01 2191人阅读 评论(3) 收藏 举报Tag: class, problem, java, the myeclipse Category: Linux Author: shiang4585 Date: 2013-10-20
安装MyEclipse8.6之后,基本上各项功能ok了,

寻找反编译工具,决定JD-Eclipse之后,开始打算用在线升级,悲摧的是机器不访问www.eclipseide.com,然后直接导致在输入在线更新地址后,不能寻找到下面有什么可更新插件,只好把jdeclipse_update_site.zip下载下来,解压缩到myeclipse插件里面去,然后把update文件夹下面的东西清理一把,ok,重启,在属性里面选中.class默认程序为jdeclipse

最后选中class,然后打开,更悲催的就是出现了如下错误

java.lang.UnsatisfiedLinkError:D:\MyEclipse-8.6\configuration\org.eclipse.osgi\bundles\1158\1\.cp\lib\win32\x86_64\jd-eclipse.dll :后面是不能应用在什么OS的平台。。。

四处寻找高人

得到如下结果


This is a BUG on OS detection.
Quick fix:
  • get the file "jd-eclipse.dll" from jd.ide.eclipse.win32.x86_0.1.3.jar if you have win32 or from "jd.ide.eclipse.win32.x86_64_0.1.3.jar" if you have win64,
  • rename it to "libjd-eclipse.so" and move it to the path where Eclipse indicate the problem with "libjd-eclipse.so"
  • in my case was "eclipse3.5.1\configuration\org.eclipse.osgi\bundles\620\1\.cp\lib\linux\x86\libjd-eclipse.so"













Suspect that although I'm using win8.1 64bit, but as you can see my eclipse version below is win32 as highlighted.

Is working by replacing(advice to backup existing to jd-eclipse.dll.64) jd-eclipse.dll from
jdeclipse_update_site\plugins\jd.ide.eclipse.win32.x86_0.1.5\lib\win32\x86
into
eclipse-jee-luna-R-win32\configuration\org.eclipse.osgi\917\0\.cp\lib\win32\x86_64



















Google Referrals