Java exit codes and meanings

前端 未结 4 1496
无人及你
无人及你 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:28

    In another question there's a link to a page with JVM exit code explanations. But exit code 23 seems to be mysterious.

    0 讨论(0)
  • 2021-01-04 01:29

    There is no definition for what exit code 23 means. Exit codes have no convention on what the values represent other than that a nonzero status code indicates abnormal termination. Zero indicates success but even then it is completely dependent as to whether the developer adheres to this 'standard'.

    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2021-01-04 01:39

    In Eclipse RCP exit code 23 means restart. But it works under IDE only.

    0 讨论(0)
提交回复
热议问题