(7) <IED> eclipse-3.6.1-64安装反编译插件 JD_Eclipse插件

本文详细介绍了如何解决在使用Eclipse安装JD_Eclipse插件时遇到的Java语言错误。通过提供具体的解决步骤和相关链接,帮助开发者顺利解决问题。


(1)eclipse-3.6.1-64安装反编译插件 JD_Eclipse插件

JD_Eclipse插件下载地址 http://download.youkuaiyun.com/detail/b0ss1314/4980499

解压后将对应的文件放到eclipse根目录对应的文件夹下,site.xml就放在根目录,重启eclipse即可



之后报错及有效解决办法:

今天在我的本本上装了个eclipse3.6,安装了个jd-eclipse插件。兴冲冲的想看下效果,居然报错NND折腾半天才搞定。

错误如下:

java.lang.UnsatisfiedLinkError: D:\Program Files\eclipse-jee-indigo\configuration\org.eclipse.osgi\bundles\22\1\.cp\lib\linux\x86\libjd-eclipse.so: Can't load this .dll (machine code=0x101) on a AMD 64-bit platform

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(Unknown Source)

at java.lang.ClassLoader.loadLibrary(Unknown Source)

at java.lang.Runtime.load0(Unknown Source)

at java.lang.System.load(Unknown Source)

at jd.ide.eclipse.editors.JDSourceMapper.loadLibrary(JDSourceMapper.java:172)

at jd.ide.eclipse.editors.JDSourceMapper.findSource(JDSourceMapper.java:107)

at jd.ide.eclipse.editors.JDSourceMapper.findSource(JDSourceMapper.java:74)

at org.eclipse.jdt.internal.core.SourceMapper.getSourceForRootPath(SourceMapper.java:1012)

at org.eclipse.jdt.internal.core.SourceMapper.findSource(SourceMapper.java:973)

at org.eclipse.jdt.internal.core.SourceMapper.findSource(SourceMapper.java:948)

at org.eclipse.jdt.internal.core.ClassFile.mapSource(ClassFile.java:642)

at org.eclipse.jdt.internal.core.ClassFile.openBuffer(ClassFile.java:635)

at org.eclipse.jdt.internal.core.Openable.getBuffer(Openable.java:288)

at org.eclipse.jdt.internal.core.ClassFile.getBuffer(ClassFile.java:359)

at org.eclipse.jdt.internal.core.ClassFile.getSourceRange(ClassFile.java:523)

at org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor.probeInputForSource(ClassFileEditor.java:759)

at org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor.doSetInput(ClassFileEditor.java:658)

at jd.ide.eclipse.editors.JDClassFileEditor.doSetInput(JDClassFileEditor.java:76)

at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3200)

at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)

at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)

at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)

at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)

at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)

at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2642)

.......

 

解决办法:

1.用jdeclipse_update_site.zip\plugins\jd.ide.eclipse.win32.x86_64_0.1.3.jar\lib\win32\x86_64 

里面的jd-eclipse.dll拷贝到 错误内容指出的那个目录D:\Program Files\eclipse-jee-indigo\configuration\org.eclipse.osgi\bundles\22\1\.cp\lib\linux\x86\;

2.删除文件夹里面原有的libjd-eclipse.so;

3.把jd-eclipse.dll重名为libjd-eclipse.so。

参考:http://hac103.iteye.com/blog/1138470

    

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------



``` <?xml version="1.0" encoding="UTF-8"?> <SCL xmlns="http://www.iec.ch/61850/2003/SCL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Private type="Substation virtual terminal conection CRC">925157EC</Private> <Header id="flex" version="V1.0" nameStructure="IEDName" toolID=""> <History> <Hitem version="V1.0" revision="0" when="2024-8-20" who="User" what="flex" why="Bailing"/> </History> </Header> <Communication> <SubNetwork name="GOOSE" type="IECGOOSE"> <ConnectedAP iedName="FLEX" apName="G1"> <Address> <P type="OSI-PSEL">00000001</P> <P type="OSI-SSEL">0001</P> <P type="OSI-TSEL">0001</P> <P type="IP">127.0.0.1</P> <P type="IP-SUBNET">255.255.255.0</P> <P type="IP-GATEWAY">10.0.0.101</P> <P type="OSI-AP-Title">1,3,9999,33</P> <P type="OSI-AE-Qualifier">33</P> </Address> <GSE ldInst="PIGO" cbName="gocb1"> <Address> <P type="MAC-Address">01-0C-CD-01-01-01</P> <P type="VLAN-ID">000</P> <P type="VLAN-PRIORITY">4</P> <P type="APPID">0101</P> </Address> <MinTime unit="s" multiplier="m">2</MinTime> <MaxTime unit="s" multiplier="m">5000</MaxTime> </GSE> <GSE ldInst="PIGO" cbName="gocb2"> <Address> <P type="MAC-Address">01-0C-CD-01-01-02</P> <P type="VLAN-ID">001</P> <P type="VLAN-PRIORITY">4</P> <P type="APPID">0102</P> </Address> <MinTime unit="s" multiplier="m">2</MinTime> <MaxTime unit="s" multiplier="m">5000</MaxTime> </GSE> <GSE ldInst="PIGO" cbName="gocb3"> <Address> <P type="MAC-Address">01-0C-CD-01-01-03</P> <P type="VLAN-ID">002</P> <P type="VLAN-PRIORITY">4</P> <P type="APPID">0103</P> </Address> <MinTime multiplier="m" unit="s">2</MinTime> <MaxTime multiplier="m" unit="s">5000</MaxTime> </GSE> <GSE ldInst="PIGO" cbName="gocb4"> <Address> <P type="MAC-Address">01-0C-CD-01-01-04</P> <P type="VLAN-ID">003</P> <P type="VLAN-PRIORITY">4</P> <P type="APPID">0104</P> </Address> <MinTime multiplier="m" unit="s">2</MinTime> <MaxTime multiplier="m" unit="s">5000</MaxTime> </GSE> <GSE ldInst="PIGO" cbName="gocb5"> <Address> <P type="MAC-Address">01-0C-CD-01-01-05</P> <P type="VLAN-ID">004</P> <P type="VLAN-PRIORITY">4</P> <P type="APPID">0105</P> </Address> <MinTime multiplier="m" unit="s">2</MinTime> <MaxTime multiplier="m" unit="s">5000</MaxTime> </GSE> <GSE ldInst="PIGO" cbName="gocb6"> <Address> <P type="MAC-Address">01-0C-CD-01-01-06</P> <P type="VLAN-ID">005</P> <P type="VLAN-PRIORITY">4</P> <P type="APPID">0106</P> </Address> <MinTime multiplier="m" unit="s">2</MinTime> <MaxTime multiplier="m" unit="s">5000</MaxTime> </GSE> <GSE ldInst="PIGO" cbName="gocb7"> <Address> <P type="MAC-Address">01-0C-CD-01-01-07</P> <P type="VLAN-ID">006</P> <P type="VLAN-PRIORITY">4</P> <P type="APPID">0107</P> </Address> <MinTime multiplier="m" unit="s">2</MinTime> <MaxTime multiplier="m" unit="s">5000</MaxTime> </GSE> <GSE ldInst="PIGO" cbName="gocb8"> <Address> <P type="MAC-Address">01-0C-CD-01-01-08</P> <P type="VLAN-ID">007</P> <P type="VLAN-PRIORITY">4</P> <P type="APPID">0108</P> </Address> <MinTime multiplier="m" unit="s">2</MinTime> <MaxTime multiplier="m" unit="s">5000</MaxTime> </GSE> <GSE ldInst="PIGO" cbName="gocb9"> <Address> <P type="MAC-Address">01-0C-CD-01-01-09</P> <P type="VLAN-ID">008</P> <P type="VLAN-PRIORITY">4</P> <P type="APPID">0109</P> </Address> <MinTime multiplier="m" unit="s">2</MinTime> <MaxTime multiplier="m" unit="s">5000</MaxTime> </GSE> </ConnectedAP> </SubNetwork> </Communication>```请逐句翻译此goose-CID文件中的代码
03-24
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值