我正在使用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 发布于 2012-11-07 00:39:39
转到Preference --> Java --> Jadclipse
将反编译的路径设置为jad.exe所在的位置,并将临时文件目录指向类似c:\temp的目录(请确保创建了此目录)
发布于 2012-04-24 10:09:46
您可以创建"C:\Documents and Settings\Sai.net.sf.jadclipse\1321168101468“目录来解决此问题。
发布于 2012-04-29 18:28:31
即使我也面临着同样的问题。您可以使用下面提到的另一种反编译器。它在eclipse中工作得很完美。
http://java.decompiler.free.fr/?q=jdeclipse
https://stackoverflow.com/questions/8110187
复制相似问题