---
title: "Eclipse反编译工具Jad.exe及插件JadClipse配置"
author: "lfl2011"
date: "2014-07-06T15:14:55Z"
tags: []
categories: ["编程语言"]
slug: "eclipse-jad-exe-jadclipse"
draft: false
lastmod: "2014-07-06T15:14:55Z"
id: 2088733
url: "https://lfl2011.iteye.com/blog/2088733"
---

1、下载所需文件

JadClipse，[http://jadclipse.sourceforge.net/wiki/index.php/Main\_Page#Download](http://jadclipse.sourceforge.net/wiki/index.php/Main_Page#Download)

Jad，[http://www.varaneckas.com/jad](http://www.varaneckas.com/jad "http://www.varaneckas.com/jad")

2、将下载下来的Jadclipse，net.sf.jadclipse\_3.3.0.jar   复制到Eclipse下的plugins目录

3、将Jad.exe复制到JDK安装目录下的bin文件夹下

4、重启Eclipse，打开Eclipse-&gt;Window-&gt;Preferences-&gt;Java，打开  JadClipse   选项，配置如下：

Path to decompiler: 这里写 jad.exe 的完整路径。例如：C:\\Java\\hotspot\\jdk1.8.0\_05\\bin\\jad.exe   

![](http://dl2.iteye.com/upload/attachment/0098/8145/a15c2017-676a-314a-b6be-36ea1c6fce60.png)

5、更改 class 文件的默认打开方式：

Eclipse-&gt;Window-&gt;Preferences-&gt;General-&gt;Editors-&gt;File Associations

配置完成即可。

![](http://dl2.iteye.com/upload/attachment/0098/8147/75d31ed1-4758-37a9-9c9f-86e28c41c13f.png)  
 

![](http://dl2.iteye.com/upload/attachment/0098/8149/fac71cb9-c56b-37c9-8ce7-2a2eaf02eae1.png)  
 

看到了吧最后两个截图很相似，一个设置的是\*.class   另一个设置的是\*.class without source  ，记得这两个都要设置啊。