Windows shutdown hook on java application run from a bat script
From addShutdownHook documentation: In rare circumstances the virtual machine may abort, that is, stop running without shutting down cleanly. This occurs when the virtual machine is terminated externally, for example with the SIGKILL signal on Unix or the TerminateProcess call on Microsoft Windows. So i think nothing to do here, unfortunately. CTRL-CLOSE signal in Windows … Read more