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

12 lines
352 B
Markdown
Raw Normal View History

Download `math-game.jar` and start with the `java -jar` command:
`wget https://arthas.aliyun.com/math-game.jar
java -jar math-game.jar`{{execute T1}}
`math-game` 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.