MyEclipse 6.0 反编译插件jad安装

本文介绍如何使用MyEclipse配合Jadclipse插件及jad.exe工具反编译.class文件。首先需下载指定插件和工具,并将其放置于相应软件目录下。随后在MyEclipse中进行配置,包括设置反编译器路径、临时文件夹路径等。通过调整偏好设置,确保反编译后的代码格式正确且避免中文乱码。最后,将.class文件与JadClipseClassFileViewer关联。
摘要由CSDN通过智能技术生成

首先下载net.sf.jadclipse_3.3.0.jar和jad1.5.8g.zip。

然后把net.sf.jadclipse_3.3.0.jar拷贝到 MyEclipse安装目录下的 MyEclipse 6.0\eclipse\plugins。

再把jad1.5.8g.zip解压后得到的jad.exe拷贝到jdk安装目录下的 jdk1.6.0_25\bin。

最后启动MyEclipse,打开Window->Preferences->Java->JadClipse进行配置,Path to decompiler为jad的全路径,如:E:\program\java\jdk1.6.0_25\bin\jad.exe;Directory for temporary files为jad的临时文件路径,如:E:\program\jad\result。Use Eclipse code formatter(overrides Jad formatting instructions)选项打勾。点击Window->Preferences->Java->JadClipse->Misc,将Convert Unicode strings into ANSI strings选项打勾,避免反编译后可能出现的中文乱码。打开Window->Preferences->General->Editors->File Association,设置*.class的Asociated editors默认为JadClipse Class File Viewer.

java反编译工具jad 1.5.8g支持 jdk1.5,jdk1.6。说明很多记住一个万能的命令基本就够用了。jad -sjava -r -8 -o **\*.class ---------------This is README file for Jad - the fast Java Decompiler.Jad home page: http://www.kpdus.com/jad.htmlCopyright 2001 Pavel Kouznetsov (jad@kpdus.com).0. Please read the disclaimer on the Jad home page.1. Installation.Unzip jad.zip file into any appropriate directory on your hard drive.This will create two files: - an executable file named 'jad.exe' (Windows *) or 'jad' (*n*x) - this README fileNo other setup is required.2. How to use JadTo decompile a single JAVA class file 'example1.class' type the following: jad example1.classThis command creates file 'example1.jad' in the current directory.If such file already exists Jad asks whether you want to overwrite it or not.Option -o permits overwriting without a confirmation.You can omit .class extension and/or use wildcards in the names ofinput files.Option -s allows to change output file extension: jad -sjava example1.classThis command creates file 'example1.java'. Be careful when usingoptions -o and -sjava together, because Jad can accidentally overwriteyour own source files.Jad uses JAVA class name as an output file name. For example, if classfile 'example1.class' contains JAVA class 'test1' then Jad will createfile 'test1.jad' rather than 'example1.jad'. If you want to specifyyour own output file name use the output redirection: jad -p example1.class > myexm1.javaOption -d allows you to specify another directory for output files,which are created, by default, in the current directory. For example: jad -o -dtest -sjava *.class (or jad -o -d test -s java *.class, which has the same effect)This command decompiles all .class files in the current directory <
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值