(转载)java反编译工具jad_程序员java/.jsp/.asp--拼搏2008
http://www.kpdus.com/jad.html 官方最新版本,支持jdk1.6
Java下的一个简单易用的反编译工具jad, 可以很方便的将.class反编译为.Java. 点击下载
一、基本用法
Usage:jad [option(s)]
直接输入类文件名,且支持通配符,如下所示。
c:\Java\>jad example1.class
c:\Java\>jad *.class
结果是将example1.class反编译为example1.jad。将example1.jad改为example1.Java即得源文件。
二、Option -o
不提示,覆盖源文件
三、Option -s
c:\Java\>jad -sJava example1.class
反编译结果以.Java为扩展名。
四、Option -p
将反编译结果输出到屏幕
c:\Java\>jad -p example1.class
将反编译结果重定向到文件
c:\Java\>jad -p example1.class>example1.Java
五、Option -d
指定反编译的输出文件目录
c:\Java\>jad -o -dtest -sJava *.class
该文章转载自网络大本营:http://www.haoad.net/Info/3883.Html
反编译别人的程序是不对的,但是有时候由于某种原因,不得不反编译别人的代码,那就需要一个工具了。小颖JAVA源代码反编译专家V1.4终极版是个很好的工具,但是只能对JDK1.4.2和之前的版本编译的程序反编译,而JDK5.0后的就无能为力了,但是可以下载JAD.EXE来逐个反编译 CLASS文件,不过如果碰到有几十个或几百个文件夹,并且目录很深的时候,就麻烦了,这个给出一个直接使用命令行反编译整个目录的方法:使用jad批量反编译
jad -o -r -sjava -d src bin/**/*.class
src: 是反組後的目錄
bin:指 package 開頭
将bin里面所有的.class反编译到src下面JAD下载: 文件名: jadnt157.ziphttp://download.pchome.net/php/dl.php?sid=9111
jad:反编译工具
可以将class文件反编译成java文件
假设将jad.exe安装在f:\java\jad目录下
把要反编译的文件*.class复制到此目录下,接着接以下步骤,
在命令行窗口环境中进入jad目录,
然后运行:jad -s java *.class (附,*.class指要反编译的文件名)
如果*.class文件和jad程序不在同一个目录,就要用到path环境变量,
将jad 所在目录加到path路径中即可:set path=%path%;f:\java\jad
若要了解jad更为详细的使用帮助信息,直接运行jad.exe查看
以下假设jad.exe在c:\java目录下
一、基本用法
Usage:jad [option(s)]
直接输入类文件名,且支持通配符,如下所示。
c:\java\>jad example1.class
c:\java\>jad *.class
结果是将example1.class反编译为example1.jad。将example1.jad改为example1.java即得源文件。
二、Option -o
不提示,覆盖源文件
三、Option -s
c:\java\>jad -sjava example1.class
反编译结果以.java为扩展名。
四、Option -p
将反编译结果输出到屏幕
c:\java\>jad -p example1.class
将反编译结果重定向到文件
c:\java\>jad -p example1.class>example1.java
五、Option -d
指定反编译的输出文件目录
c:\java\>jad -o -dtest -sjava *.class
六、Option -r
按*.class的包结构输出文件目录
c:\java\>jad -o -r -dtest -sjava d:/1/**/*.class
将d:\1\文件夹下的.class文件按照原程序的包结构反编译到test目录下。
Using ASP.NET MVC From Visual Web Developer Express 2008
Using ASP.NET MVC From Visual Web Developer Express 2008 UPDATE (12/17/2007): My blog has moved. This post is now located at: http://jason.whitehorn.ws/2007/12/10/Using+ASPNET+MVC+From+Visual+Web+Developer+Express+2008.aspx Today marked the released of the first preview of MVC for ASP.NET. While it works just fine from the free Visual Web Developer Express 2008, this release is missing a project template to help you get up an running quickly. So, I have thrown together a project template to allow you get get starting using MVC from VWD Express. Unlike VWD Express' big brother, VWD Express seems unable to create Web Application, only Web Sites. So this template has a slightly modified layout from the one available from Visual Studio. Image Hosted by ImageShack.us Since Web Site projects can only arbitrarily host classes in the App_Code directory, I have placed the Models and Controllers there. The Views are located in an appropriately named directory off of the site root. There are two versions of this template, one for C# and one for VB.NET. # ASP.NET MVC Web Site For C# # ASP.NET MVC Web Site For VB.NET Download the template of your choice to the Visual Studio 2008\Templates\ProjectTemplates\Visual Web Developer directory located in your "My Documents" directory. After doing so, simply start VWD Express and you will notice a new template available when you go to create a new web site. Image Hosted by ImageShack.us This was just something that I threw together really quickly, and is not intended to be a demonstration of MVC. It is simply a starting point for getting started quickly with MVC. If you should encounter any difficulties with this, please let me know.
Powered by ScribeFire.
来源:https://www.cnblogs.com/flaaash/archive/2008/01/21/1047155.html