轉自http://jingyan.baidu.com/article/9c69d48f48026813c9024e16.html
在用Myeclipse 或者是eclipse進行開發時候經常遇到這個問題。
File class editor source not found問題。原因很簡單,就是因爲這是一個源碼包,相應的沒有編輯器能夠打開它。
方法/步驟1
-
首先,需要下載兩個必須的插件包。
一個是:準備反編譯需要的jad.exe
下載地址:http://varaneckas.com/jad/
二個是:反編譯編輯器net.sf.jadclipse_3.3.0.jar
下載地址:http://sourceforge.net/projects/jadclipse/?source=dlp
-
第二:把插件安裝在Myeclise或eclipse中。
1、對於jad.exe 。安裝於你jdk的安裝位置。
2、net.sf.jadclipse_3.3.0.jar 在你的Myeclise或eclipse的dropins目錄中。
安裝成功會有提示。
-
第三:設置在在Myeclise或eclipse中的配置參數。
-
第四:設置參數。
在jadclipse-> debug勾選:output original line numbers as comments 在jadclipse->Misc勾選:covert unicode strings into ANSI strings 在windows->preference->General->Editors->File Association將 JadClipse Class File Viewer設置爲默認。
-
第五:大功告成。
END