当前位置:网站首页 > Java基础 > 正文

java安装反编译工具教程



 <svg xmlns="http://www.w3.org/2000/svg" style="display: none"> <path stroke-linecap="round" d="M5,0 0,2.5 5,5z" id="raphael-marker-block" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0)"></path> </svg> <p></p><p></p> 
  1. 点击该链接下载用于windows的jad,适用于其他系统的jad请到jad非官网下载地址去下载
  2. 解压下载的压缩包到某路径
  3. 打开win10的cmd命令行(按键win+r)
  4. 进入到jad.exe所在的路径
  5. 输入。之后就会在 example1.class所在路径生成一个example1.jad文件。之后用记事本方式打开该文件,或者将example1.jad改为example1.Java,文件内容不变。
  6. 或者输入,反编译结果以.Java为扩展名。

- directory for output files
-dead - try to decompile dead parts of code (if there are any)
-dis - disassembler only (disassembler)
-f - generate fully qualified names (fullnames)
-ff - output fields before methods (fieldsfirst)
-i - print default initializers for fields (definits)
-l - split strings into pieces of max chars (splitstr)
-lnc - output original line numbers as comments (lnc)
-lradix- display long integers using the specified radix
-nl - split strings on newline characters (splitstr)
-noconv - don’t convert Java identifiers into valid ones (noconv)
-nocast - don’t generate auxiliary casts
-noclass - don’t convert .class operators
-nocode - don’t generate the source code for methods
-noctor - suppress the empty constructors
-nodos - turn off check for class files written in DOS mode
-nofd - don’t disambiguate fields with the same names (nofldis)
-noinner - turn off the support of inner classes
-nolvt - ignore Local Variable Table entries (nolvt)
-nonlb - don’t insert a newline before opening brace (nonlb)
-o - overwrite output files without confirmation
-p - send all output to STDOUT (for piping)
-pa - prefix for all packages in generated source files
-pc - prefix for classes with numerical names (default: _cls)
-pe - prefix for unused exception names (default: _ex)
-pf - prefix for fields with numerical names (default: _fld)
-pi - pack imports into one line using .* (packimports)
-pl - prefix for locals with numerical names (default: _lcl)
-pm - prefix for methods with numerical names (default: _mth)
-pp - prefix for method parms with numerical names (default:_prm)
-pv - pack fields with the same types into one line (packfields)
-r - restore package directory structure
-radix- display integers using the specified radix (8, 10, or 16)
-s - output file extension (default: .jad)
-safe - generate additional casts to disambiguate methods/fields
-space - output space between keyword (if, while, etc) and expression
-stat - show the total number of processed classes/methods/fields
-t - use spaces for indentation (default: 4)
-t - use tabs instead of spaces for indentation
-v - show method names while decompiling
-8 - convert Unicode strings into ANSI strings (ansi)
-& - redirect STDERR to STDOUT
在这里插入图片描述





























































































































  • 上一篇: java教程土豆网
  • 下一篇: java系统设计教程
  • 版权声明


    相关文章:

  • java教程土豆网2025-10-22 18:42:04
  • java速成 24小时教程2025-10-22 18:42:04
  • java多线程协作教程2025-10-22 18:42:04
  • java爱心教程2025-10-22 18:42:04
  • java字符类型教程2025-10-22 18:42:04
  • java系统设计教程2025-10-22 18:42:04
  • java jquery 教程2025-10-22 18:42:04
  • java基础教程2842025-10-22 18:42:04
  • java教程io2025-10-22 18:42:04
  • java实战教程1572025-10-22 18:42:04