---
title: "Eclipse 反编译"
author: "sunney2012"
date: "2012-03-10T21:22:07Z"
tags: []
categories: ["非技术"]
slug: "eclipse"
draft: false
lastmod: "2012-03-10T21:22:07Z"
id: 1449949
url: "https://sunney2012.iteye.com/blog/1449949"
---

欢迎进入Java社区论坛，与200万技术人员互动交流 >>进入

　　1、下载eclipse插件：jadclipse_3.1.0.jarhttp://jadclipse.sourceforge.net/

　　2、   下载Jad反编译工具：jad.exehttp://www.kpdus.com/jad.html#download

　　3、将jad反编译工具jad.exe放到jdk安装路径的bin目录下面，jadclipse_3.1.0.jar放到eclipse的安装目录下的plugins目录下。

　　4、启动eclipse，打开：Window->Preferences->Java->JadClipse.

　　Path to decompiler，这里设置反编译工具jad的全路径名，就是第三部jad.exe的路径。

　　5、 安装完成后，eclipse自动将JadClipse Class File Viewer设置成class文件的缺省打开方式。如果没有默认，可以在Eclipse的Windows——> Perference——>General->Editors->File Associations中修改“*.class”默认关联的编辑器为“JadClipse Class File Viewer”。设置完成后，双击*.class文件，eclipse将自动反编译。

　　注意：jadclipse_3.1.0.jar的版本与eclipse的platform版本号相关