java useful commands summary
来源:互联网 发布:网络优化公司 编辑:程序博客网 时间:2024/04/29 21:46
Decompile:
jad -o -a -dsrc -sjava -ff -r dir\**\*.class
jad -p -o -a test.class > test.javajar:
jar -cvfm test.jar dir\manifest.mf -C dir\ .
jar -xvf test.jar dir
compile:
javac -cp . dir\test.java
javac -d classes -sourcepath src -classpath . dir/test.java
-sourcepath 和 -cp 两个属性都被加入,编译器首先会判断test.java中依赖的类文件.class形式和.java形式是否同时存在。如果单独存在,则选择存在的使用。如果同时存在,则判断.class是否是.java的最新编译,如果有差异,则重新编译.java来覆盖.class
-d参数是很好的把源程序和目标代码分离的参数。-d指定的是目标代码的根目录,源文件的包的结构将以目录形式反映到根目录上。-d需要指定已经存在的目录,不能自动创建。
execution:
java -cp . test
java -cp . -jar test.jar
apktool:
java -jar apktool.jar d android.apk D:\apk
apktool -d android.apk D:\apk
dex2jar.bat classes.dex
0 0
- java useful commands summary
- AIX Useful Commands
- AIX Useful Commands
- Some useful linux commands
- Useful Linux Wireless Commands
- useful linux commands
- 10 Useful Linux Commands
- Useful Openssl Commands
- Useful OpenSSL Commands
- Useful WINDBG commands
- some useful Linux commands
- GRUB2 Some Useful Commands
- Ubuntu useful commands
- some useful linux commands
- 101 useful Run Commands
- Some useful Linux Commands
- Useful Linux Wireless Commands
- Some Useful GoldenGate Commands
- Android Fragment和Activity比较
- 开通博客
- 正则表达式示例学习
- java运算符
- 结婚礼物为新娘和新郎
- java useful commands summary
- asp.net中Literal与label的区别
- 佛祖保佑 永无bug
- 经济实惠的黑莓应用程序开发外包公司
- tomcat的maxThreads、acceptCount(最大线程数、最大排队数)
- ECC的原理
- 简短的方式找到最佳休斯顿婚宴场地
- 简化了跨平台移动应用开发有了最好的工具和技术组合
- apche运用LDAP进行权限认证