1. 将jad.exe解压到指定目录。如:d:\java\jad
2. 将jadeclipse插件net.sf.jadclipse_3.3.0.jar 拷贝到myeclipse安装目录 \Genuitec\Common\plugins\
目录下。
3. 在myeclipse安装目录下dropins/创建eclipse文件夹,
然后在eclipse文件夹中分别创建 features、plugins文件夹,
将net.sf.jadclipse_3.3.0.jar 分别拷贝到features和plugins文件夹中
4. 重新启动myeclipse后,配置jadeclipse插件
5. 在eclipse窗口下,点击Window > Preferences > Java > JadClipse > Path to Decompiler
设置jad的绝对路径,如 d:\java\Jad\jad.exe)。
Use Eclipse code formatter(overrides Jad formatting instructions)选项打勾,
与格式化出来的代码样式一致。
6. 在eclipse窗口下,点击Window > Preferences > Java > JadClipse > Misc,
将Convert Unicode strings into ANSI strings选项打勾,
避免反编译后可能出现的中文乱码
安装完成后,eclipse没有自动将JadClipse Class File Viewer设置成class文件的缺省打开方式。
如果没有默认,可以在Eclipse的Windows—> Perference—>General->Editors->File Associations中
修改“*.class”
默认关联的编辑器为“JadClipse Class File Viewer”。
设置完成后,双击*.class文件,eclipse将自动反编译。
注:其中1345是针对ecplise中安装jad,12345是针对myEcplise中安装jad