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

12 lines
352 B
Markdown
Raw Normal View History

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