![85cfce7a62e06a6ca0ea3fbf5f9a99ae.png](https://img-blog.csdnimg.cn/img_convert/85cfce7a62e06a6ca0ea3fbf5f9a99ae.png)
大佬都喜欢分析源码,但是一些jar包里面,java文件都编译成class文件,无法直接看到java代码,利用class反编译,可以编译回java文件,使代码可读。
① 先准备好两个文件
jad.exe
net.sf.jadclipse_3.3.0.jar
② 将net.sf.jadclipse_3.3.0.jar包拷贝放置eclipse安装目录下的plugins文件夹下
![164ffe0c7639f24b06b54e0e2254e403.png](https://img-blog.csdnimg.cn/img_convert/164ffe0c7639f24b06b54e0e2254e403.png)
③ 建议在eclipse安装目录同级中(当然在磁盘任何位置都可以)新建一个jad文件夹,接着在jad文件夹里又新建一个jadtemp空文件夹,最后将jad.exe放置到 jad 文件夹下。
![08d39377c96332e5453100ec66e2b177.png](https://img-blog.csdnimg.cn/img_convert/08d39377c96332e5453100ec66e2b177.png)
④ 重启eclipse软件:配置相应的eclipse参数(注意指定两个目录的路径)
寻找路径:windows->preferences->java->jadClipse
![74bff99576aef71e6a0f47a96c22779b.png](https://img-blog.csdnimg.cn/img_convert/74bff99576aef71e6a0f47a96c22779b.png)
⑤ 接着配置windows->preferences->General->Editors->File Association
![c03af033b1667fdbb7b98c01dc594744.png](https://img-blog.csdnimg.cn/img_convert/c03af033b1667fdbb7b98c01dc594744.png)
![241ae02fa0cf530bd6a1ae707c9df61f.png](https://img-blog.csdnimg.cn/img_convert/241ae02fa0cf530bd6a1ae707c9df61f.png)
配置完成!