arthas/tutorials/katacoda/arthas-basics-en/arthas-demo.md
2020-08-10 19:34:27 +08:00

11 lines
359 B
Markdown

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.