arthas/tutorials/katacoda/command-mbean-en/arthas-demo.md

12 lines
360 B
Markdown
Raw Normal View History

2020-08-06 15:42:27 +08:00
Download `arthas-demo.jar` and start with the `java -jar` command:
`wget https://arthas.aliyun.com/arthas-demo.jar
2020-08-06 15:42:27 +08:00
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.