---
title: "Java反编译工具 For Eclipse "
author: "zhou_wu"
date: "2011-06-29T17:02:30Z"
tags: []
categories: ["编程语言"]
slug: "java-for-eclipse"
draft: false
lastmod: "2011-06-29T17:02:30Z"
id: 1109566
url: "https://leesmart.iteye.com/blog/1109566"
---

一.jad jadclipse安装
1.在http://www.varaneckas.com/jad下载对应版本的jad后解压。
    解压缩后将jad.exe拷贝到虚拟机目录下，
    如: D:\JavaSoft\jdk1.6.0_19\bin

    2.下载 jadclipse_3.3.jar
    http://jaist.dl.sourceforge.net/sourceforge/jadclipse/net.sf.jadclipse_3.3.0.jar
    将jadclipse_3.3.0.jar复制到eclipse\plugins目录下。

    3.启动Eclipse后，在Windows――>Perference――>Java下面应该会多出一个JadClipse目录，
    相关的设置可以在此修改配置jadclipse： 
    //为什么我是放在bin目录，因为我的系统环境指向D:\JavaSoft\jdk1.6.0_19\bin\,可以在系统命令行里直接输入jad
    path to decompiler======>>D:\JavaSoft\jdk1.6.0_19\bin\jad.exe
   
    Directory for temporary files==========>>D:\Class2JavaTemp

    4、在Eclipse的Windows――>Perference――>General->Editors->File Associations
    中修改“*.class”默认关联的编辑器为“JadClipse Class File Viewer”

    5、安装完成，双击class文件，Eclipse将自动反编译了。