It is possible to detect a crash of the Java VM on its exit code?

51 views Asked by At

Is there a specific exit code of the Java VM that returns if the Java process crash? I want restart the Java process if its terminate through an crash. If there is a normal termination for example through a kill signal then I want not to restart.

0

There are 0 answers