`

eclipse 反编译

 
阅读更多
安装jad
:1):下载插件:
下载jadclipse_3.1.0.jar版本,该版本支持eclipse3.1M6~3.2M2
下载jadclipse_3.2.0.jar版本,该版本支持eclipse3.2M3和eclipse3.2M4.
下载jadclipse_3.2.4.jar版本,该版本支持eclipse3.2M5~3.3M5
下载jadclipse_3.3.0.jar版本,该版本支持eclipse3.3M6以上版本
(选择和你eclipse版本相符合的插件很重要,否则一直出现:Could not open the editor:
The editor class could not be instantiated.或者An error has occurred when activating this view )
2):下载Jad反编译工具:
http://www.kpdus.com/jad.html#download,在该页中找到适合自己操作系统平台的jad下载。
下载后解压,然后将解压后的jad.exe文件复制到%JAVA_HOME%\bin目录下面
(可以将jad.exe放到任意位置,只要记住其存放路径就好,下面要用到)。
3):将下载好的jadclipse_3.3.0.jar复制到%ECLIPSE_HOME%\plugins目录下。重启eclipse前删除文件%ECLIPSE_HOME%\configuration\org.eclipse.update 以我的经验 一般需要重启两次才行。
4):打开Window>-Preferens>-Java会出现JadClipse选项
Path to decompiler:这里设置反编译工具jad的全路径名,比如:%JAVA_HOME%\bin\jad.exe.
Directory for temporary files:这里设置临时文件路径。比如jad
5):安装完成后,eclipse没有自动将JadClipse Class File Viewer设置成class文件的缺省打开方式。
如果没有默认,可以在Eclipse的Windows—> Perference—>General->Editors->File Associations中修改“*.class”默认关联的编辑器为“JadClipse Class File Viewer”。设置完成后,双击*.class文件,eclipse将自动反编译。
分享到:
评论
1 楼 zhengyao 2012-04-28  
mark.

相关推荐

Global site tag (gtag.js) - Google Analytics