首页 技术 正文
技术 2022年11月17日
0 收藏 833 点赞 2,148 浏览 501 个字

今天想反编译jar包保存源代码,默认前面加了行号,不知道这个小工具如何设置去掉行号?

java decompiler如何去掉行号

反编译后:

java decompiler如何去掉行号

找到它的安装路径,我的是:C:\Program Files\decomp。然后将该路径加入到环境变量path中。 首先将要反编译的jar文件,用Winrar解压到和jar文件名称一样的文件夹中 在命令输入框中输入如下命令: jad -o -r -dF:\am -sjava F:\amclientsdk\**\*.class 其中:F:\am 表示编译后文件的存放路径 F:\amclientsdk\**\*.class 表示需要被反编译的文件 -o  - overwrite output files without confirmation (default: no) 无需确定覆写文件 -r  - restore package directory structrure 恢复包目录结构 -s <ext></ext>- output file extension (by default '.jad') 如果不设置为-sjava,则默认扩展名为.jad 其他的,F:\amclientsdk\**\*.class 中的两颗接连的星,表示任意层次的子目录。 OK,这么多就够完成我们的任务了。
相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,085
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,560
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,409
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,182
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,819
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,902