2011-11-13 16 views
4

我正在使用Eclipse Helios版本並將現有項目導入到IDE中。jadclipse在DECOMPILATION REPORT期間出錯

這個項目是在Jar文件

所以我已經安裝了亞德Eclipse插件的形式包括一些代碼。

現在我的問題是每當我點擊類的IDE(Ctrl +鼠標),這是在jar文件,而不是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 

回答

0

你可以將「C:\ Documents和Settings \ Sai.net.sf.jadclipse \ 1321168101468「目錄來解決這個問題。

4

圍棋可以完美運行在Eclipse中Preference --> Java --> Jadclipse

將路徑設置反編譯你的jad.exe的位置,並指出臨時文件目錄類似c:\temp(確保你創建這個目錄)

0
  1. 下載用的jad.exe在特定的文件夾歸檔從http://varaneckas.com/jad/您的操作系統
  2. 提取物
  3. 轉到「窗口」>「首選項」> Java> JadClipse,並使用解壓縮文件的路徑填充要反編譯的路徑
  4. 重新啓動您的eclipse。

example

0

我遇到了同樣的錯誤: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。再次嘗試調試並解決問題。