libjd-eclipse.so

JDEclipse try to load linux lib file(libjd-eclipse.so) under windows


Submitted by colin on Thu, 09/02/2010 - 12:52
Version: 
0.1.3
Status: 
Open
Hi, I found a strange thing, the jd-eclipse can't decompiler after I installed it.
The error message said can't load dll file from path :
"F:\eclipse\configuration\org.eclipse.osgi\bundles\300\1\.cp\lib\linux\x86\libjd-eclipse.so"


I guess under windows, the path should be "win32" instead of "linux". So I copy
jd.ide.eclipse.win32.x86_0.1.3.jar\lib\win32\x86\jd-eclipse.dll 
and replace the old "so" file, and then it works.


The problem is why it try to load a linux lib file in my windows?


From eclipse's system properties i get this:
"eclipse.commands=-os win32 -ws win32 -arch x86"
and this:
"os.arch=x86
os.name=Windows XP
os.version=5.1
osgi.arch=x86"


Vote to change priority:
Poor
Okay
Good
Great
Awesome
 


2 comments:
Correct problem solution09/24/2010 - 00:30
After installing the plugin and starting Eclipse, close it. Futher do next steps.
1. Find a file
%USERNAME%\workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.ui.workbench.prefs
2. Find a string in that file
<defaultEditor id\="jd.ide.eclipse.editors.JDClassFileEditor.linux.x86"/>
3. Replace "linux" on "win32" in that string.
4. Start Eclipse and enjoy it. :^)
ArthemizLogin or register to post comments
quick dirty solution02/9/2011 - 16:54
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"
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值