jadclipse 反编译报告期间出错
我正在使用 Eclipse Helios 版本并将现有项目导入 IDE。
这个项目由一些 Jar 文件形式的代码组成,
所以我安装了 Jad Eclipse 插件。
现在我的问题来自 IDE 每当我单击 jar 文件中的类(Ctrl + 鼠标)而不是 java 文件时,我都会得到这个
/*jadclipse*/
/*
DECOMPILATION REPORT
Decompiled from: C:\Documents and Settings\Sai\Desktop\work\kiuybon-1.1.jar
Total time: 0 ms
Jad reported messages/errors:
Exit status: 0
Caught exceptions:
java.io.IOException: Cannot run program "jad" (in directory "C:\Documents and Settings\Sai\.net.sf.jadclipse\1321168101468"): CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at net.sf.jadclipse.JadDecompiler.decompile(JadDecompiler.java:160)
at net.sf.jadclipse.JadDecompiler.decompileFromArchive(JadDecompiler.java:217)
at
I am using Eclipse Helios Version and imported an existing project into IDE.
This Project is consisting some code in form of Jar files
So I have installed Jad Eclipse plugin .
Now my question is from the IDE Whenever i click class (Ctrl + Mouse) which is in jar files , instead of java file ,i m getting this
/*jadclipse*/
/*
DECOMPILATION REPORT
Decompiled from: C:\Documents and Settings\Sai\Desktop\work\kiuybon-1.1.jar
Total time: 0 ms
Jad reported messages/errors:
Exit status: 0
Caught exceptions:
java.io.IOException: Cannot run program "jad" (in directory "C:\Documents and Settings\Sai\.net.sf.jadclipse\1321168101468"): CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at net.sf.jadclipse.JadDecompiler.decompile(JadDecompiler.java:160)
at net.sf.jadclipse.JadDecompiler.decompileFromArchive(JadDecompiler.java:217)
at
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
转到
首选项--> Java --> Jadclipse
将反编译器的路径设置为 jad.exe 的位置,并将临时文件目录指向类似
c:\temp
的目录(确保创建此目录)Go to
Preference --> Java --> Jadclipse
Set the path to decompiler to the location of your jad.exe and point the temp file directory to something like
c:\temp
(make sure you create this directory)您可以创建“C:\Documents and Settings\Sai.net.sf.jadclipse\1321168101468”目录来解决此问题。
You can make "C:\Documents and Settings\Sai.net.sf.jadclipse\1321168101468" directory to solve this problem.
就连我也面临着同样的问题。您可以使用下面提到的替代反编译器。 中完美运行
它在 eclipse http://java.decompiler.free.fr/?q=jdeclipse< /a>
Even I have also faced the same problem. You can use an alternative de-compiler mentioned below. It works perfect in eclipse
http://java.decompiler.free.fr/?q=jdeclipse
示例
example
我遇到了同样的错误:jadclipse
为了解决这个问题,我执行了以下步骤:
将我的 Windows 配置文件添加为 jad.exe 的所有者。我已经是我的机器的管理员,但仅这样做并不能解决问题。
jad.exe >右键单击>属性>安全>高级>所有者选项卡>
将所有者更改为 >我的 Windows 配置文件
重新启动 Eclipse。再次尝试调试,问题解决。
I encountered the same error: jadclipse
To solve it I did the following steps:
Added my windows profile as the owner of the jad.exe. I was already admin on my machine but doing only this did not solve the problem.
jad.exe > right click > Properties > security > advanced > owner tab >
change owner to > my windows profile
Restart eclipse. Tried debugging again and the problem is solved.