One of my applications starts java.exe, but in between this 'java.exe' is killed by some other process.
How can I know which process kills the java.exe. I am using Windows XP SP 2.
One of my applications starts java.exe, but in between this 'java.exe' is killed by some other process.
How can I know which process kills the java.exe. I am using Windows XP SP 2.
tl;dr: enable and check silent process exit logs with gflags.exe and Windows' Event Viewer.
Install Windows' debugging tools
By default the tools are installed to C:/Program Files (x86)/Windows Kits
Locate the appropriate version of gflags for your application
If using the default installation path, 32-bit gflags is at C:/Program Files (x86)/Windows Kits/10/Debuggers/x86 and 64-bit is at C:/Program Files (x86)/Windows Kits/Debuggers/x64
Enable logging
Now whenever the application is killed an event should be logged. You can see the events on Windows' Event Viewer. press the windows key to open the start menu, type "event" and it should pop up.
When it opens, on the right side navigate to Event Viewer > Windows Logs > Appplication. Double-click the events and go the Details tab. It should help you identifying what killed your process.