Java exit codes and meanings

前端 未结 4 1495
无人及你
无人及你 2021-01-04 00:46

Is there a list of exit codes and meanings for java process terminations? Because I have an exit code 23 and i don\'t know what it can be (I cannot change the log to see the

4条回答
  •  借酒劲吻你
    2021-01-04 01:37

    In your Java application, when you call System.exit(n);, then the Java runtime environment will return n as the exit code back to the operating system.

    What the number means depends on the program you are running - not Java itself, but the program you are running produces this number. There are no standard numbers. Look in the documentation of the program that produces this exit code to find out what it means.

提交回复
热议问题