arthas/tutorials/katacoda/case-thread-en/arthas-demo.md

12 lines
360 B
Markdown
Raw Normal View History

Download `arthas-demo.jar` and start with the `java -jar` command:
`wget https://arthas.aliyun.com/arthas-demo.jar
java -jar arthas-demo.jar`{{execute T1}}
`arthas-demo` is a very simple program that randomly generates integers, performs factorization, and prints the results.
If the generated random number is negative, a error message will be printed.