update doc. fix #334

This commit is contained in:
hengyunabc
2018-12-03 16:22:28 +08:00
parent 609c5ba94e
commit ed16dc6212
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -94,11 +94,11 @@ java.home /Library/Java/JavaVir
e/jre
```
## 4. Get the Main Class of the process with the sysenv command
## 4. Get the Main Class of the process with the thread command
```
$ sysenv | grep MAIN
JAVA_MAIN_CLASS_71560 demo.MathGame
$ thread -n -1 | grep 'main('
at demo.MathGame.main(MathGame.java:17)
```
## 5. Decompile Main Class with jad command
+3 -3
View File
@@ -95,11 +95,11 @@ java.home /Library/Java/JavaVir
e/jre
```
## 4. 通过sysenv命令来获取到进程的Main Class
## 4. 通过thread命令来获取到进程的Main Class
```
$ sysenv | grep MAIN
JAVA_MAIN_CLASS_71560 demo.MathGame
$ thread -n -1 | grep 'main('
at demo.MathGame.main(MathGame.java:17)
```
## 5. 通过jad来反编绎Main Class