diff --git a/site/src/site/sphinx/en/quick-start.md b/site/src/site/sphinx/en/quick-start.md index df7db5efb..f5a26ad6e 100644 --- a/site/src/site/sphinx/en/quick-start.md +++ b/site/src/site/sphinx/en/quick-start.md @@ -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 diff --git a/site/src/site/sphinx/quick-start.md b/site/src/site/sphinx/quick-start.md index d2454c365..484f7db4a 100644 --- a/site/src/site/sphinx/quick-start.md +++ b/site/src/site/sphinx/quick-start.md @@ -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