jadclipse 反编译报告期间出错

发布于 2024-12-15 02:48:51 字数 874 浏览 3 评论 0原文

我正在使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

森林迷了鹿 2024-12-22 02:48:51

转到首选项--> 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)

九命猫 2024-12-22 02:48:51

您可以创建“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.

睫毛溺水了 2024-12-22 02:48:51

就连我也面临着同样的问题。您可以使用下面提到的替代反编译器。 中完美运行

它在 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

温柔少女心 2024-12-22 02:48:51
  1. http://varaneckas.com/jad/ 下载包含 jad.exe 的存档,以供您的操作系统
  2. 解压特定文件夹
  3. 转到“窗口”>“首选项>爪哇> JadClipse 并用您提取存档的路径填充反编译路径
  4. 重新启动 eclipse。

示例

  1. Download the archive with jad.exe from http://varaneckas.com/jad/ for your OS
  2. Extract in a specific folder
  3. Go to Window > Preferences > Java > JadClipse and fill the path to decompile with the path where you extracted the archive
  4. Restart your eclipse.

example

翻身的咸鱼 2024-12-22 02:48:51

我遇到了同样的错误:jadclipse

 DECOMPILATION REPORT
 Decompiled from: D:\nnn\nnnn\lib\nnn3.1.1.jar
 Total time: 0 ms
 Jad reported messages/errors:
 Exit status: 0
 Caught exceptions:
java.io.IOException: Cannot run program "c:\jad" (in directory "C:\jad\1490924748657"): 
         CreateProcess error=5, Access is denied

为了解决这个问题,我执行了以下步骤:

  1. 将我的 Windows 配置文件添加为 jad.exe 的所有者。我已经是我的机器的管理员,但仅这样做并不能解决问题。

    jad.exe >右键单击>属性>安全>高级>所有者选项卡>
    将所有者更改为 >我的 Windows 配置文件

  2. 重新启动 Eclipse。再次尝试调试,问题解决。

I encountered the same error: jadclipse

 DECOMPILATION REPORT
 Decompiled from: D:\nnn\nnnn\lib\nnn3.1.1.jar
 Total time: 0 ms
 Jad reported messages/errors:
 Exit status: 0
 Caught exceptions:
java.io.IOException: Cannot run program "c:\jad" (in directory "C:\jad\1490924748657"): 
         CreateProcess error=5, Access is denied

To solve it I did the following steps:

  1. 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

  2. Restart eclipse. Tried debugging again and the problem is solved.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文