Java file using the JAD decompiler good light JAVA _

Java file using the JAD decompiler
September 2, 2007 Sunday, 02:22 AM

Recently drawn the short straw, the computer system unit accidentally hang out, and restore the system also failed, the most terrible is when colleagues in restoring my machine to other documents in the tears washed away. Alas, although the work submitted to the relevant code on the svn, but there are many valuable experimental code evaporated ah.

In case of a problem today, need to upgrade a Application, but in addition to the server is running outside of the Application of the jar, I do not have any code associated with the ... ... Do me a rewrite? Not say how much time and energy to be wasted, if there is some error, and that no joke.

Suddenly thought, seen previously in an article in the Internet can decompile java's. Class files tool JAD. Said to have been a long time but did not upgrade. Try holding the idea to the next site of a JAD to use. Next up, a Jad 1.5.8e for Linux on Intel platform, this is 2001 stuff, huh, huh. Can not know the man can not do ah.

After decompression, get a jad file and a ReadMe.txt. Do not read the document, the temporary use of less advanced parameters, study it later.


# Jad **.class

===================================== Attached below some of the content transferred ====== ============================
jad-ff-nl-space -8-nonlb-s. java *. class
jad is a very good free anti-java byte code compiler, I believe many people have used. I firmly believe that "a code to work is the best reference document", so I use the jad to benefit from previous work:)
jad is a command-line program, providing a large number of command line options, many people may not know, I will introduce a few helpful to everyone.
-8: The Unicode-encoded characters into ASCII output, so the Chinese will be in the program is output, rather than puzzling u**x this form
-Nl: splitting the string in accordance with the output, so a very long string that does not mean all on one line, and enhance readability.
JAVA mobile phone network [**cnjm**]
-Ff: on the method before the data members, so we write a program to comply with the habit
-Space: the if, while so add a space between keywords and expressions, this is a good programming style java
-Nonlb: not open braces (that is, left brace) front carriage, which is the customary style of most of java programmers, we can choose according to their habits through such a configuration, jad java code almost the output of handwriting The is no different (of course, the format is even better than hand-written specification)
In order to more easily (because I very very lazy ~ ~), I wrote a batch file and put it. Class to associate, so I just use the mouse to double click any. Class files, the corresponding java code directly in my The UltraEdit to open, I almost forgot the difference between java and class files of the:-D. Please annex the jad.exe and jadplus.bat also put a directory in the PATH, I usually to put C: WINNT below, if WinXP is C: Windows.
================================================== ========
@ If not exist% ~ jad-p-ff-nl-space -8-nonlb% 1>% ~
@ Uedit32% ~
================================================== ========
1-p means that direct output to the screen, so easy I redirect the output to a java file.
2 jad preceded by a judge, if the corresponding java file does not exist only to decompile, to avoid overwriting the original java code.
3 If you used to use other java editor, then modify the second line uedit32 java into your favorite editor.
Batch decompilation but only the previous version of JDK1.4.2 and decompile programs compiled, and can not do anything after JDK5.0, but you can download JAD.EXE to decompile CLASS files individually, but if there are dozens of encounter or a few hundred folders and directories deep, when in trouble, this gives a direct anti-compiled using the command line the entire directory: using the batch decompiler jad
jad-o-r-sjava-d src bin /**/*. class
src: directory after the anti-group
bin: the bin inside that package at the beginning of all. class decompilers to src the following

Anti-compilation can be completed.

Get is **.jad file. Directly open, oh thand goodness! ! 100% restored my code. Haha, save trouble erupted in slightly (but still confused ... no use ...)
标签: java class, java java, decompression, rewrite, colleagues, svn, code compiler, unicode, java file, java byte code, relevant code, command line options, ascii output, joke, jad file, computer system, intel platform, jad decompiler, short straw, light java
分类: Java
时间: 2011-01-09


  1. Java File类的常用方法总结

    这篇文章主要介绍了Java File类的常用方法总结,本文讲解了File类的常用方法,并对一些方法给出了代码示例,需要的朋友可以参考下 Java File类的功能非常强大,利用Java基本上可以对文件进行所有的操作.本文 ...
  2. Garbled Eclipse JAVA file comments

    For someone else's project or JAVA files into its own when Eclipse often JAVA file will appear garbled in Chin ...
  3. java file write operation

    package com.test2; import*; /** * @desc java File write operations * @author zhaozhi3758 * */ public ...
  4. Java file operations method

    Transfer from the following code: Java file operations to the text ...
  5. Java file operations enhancement tools

    Java file operations enhancement tools -------------------------------------------------- -------------------- ...
  6. Java file download in several ways

    Java file download in several ways public HttpServletResponse download(String path, HttpServletResponse respon ...
  7. encoding one of the Java file encoding

    1. Edit *. java file what happened then? A: When we use Notepad to edit, Open the purple input, purple keyboar ...
  8. Java file operations on the Properties Summary

    Frequently used, Java file operations on the Properties, to make a summary here. Java Properties files on the ...
  9. java file operations Daquan

    1. Get the information entered by the user console Java code / ** *//** Get the information entered by the use ...
  10. Eclipse set the java file of the author, date, etc. Note

    Window-"Ppreference-" Java-"Code Styple-" Code Templates The right point to open Comments, ...
  11. Eclipse set the java file of the author, date and other instructions

    Window-"Ppreference-" Java-"Code Styple-" Code Templates The right point to open Comments, ...
  12. java proxy --- the first step, dynamic compilation java file

    Assume that we have a dynamically generated string type the following statement of a class String src = " ...
  13. Java file in Notepad and the difference between line (turn)

    And today they made a java file reading and writing about the issue, originally thought to java database ok, b ...
  14. swfUpload java file upload component upload.war

    swfUpload java file upload component upload.war placed directly under the webapps directory. Upload file exist ...
  15. java file encoding conversion

    package com.xw.file; import; import; import; import ...
  16. java file reading and writing Daquan

    Text file using the Java method operating Detailed Summary: java does not support the original text files for ...
  17. Would like to request an object using java file how to do [Original]

    Sometimes we want to use the request object java file, but the jsp page is running in the web container, so we ...
  18. Detailed Java file operations

    Input and output streams in Java, we can read a sequence of bytes is called an input stream object; and we hav ...
  19. How to use CXF. Wsdl file into a java file

    How to use CXF. Wsdl file into a java file Have not previously had contact with webservice development, the tw ...