Page 1 of 1

Killing Java process

Posted: Thu Feb 28, 2002 4:34 pm
by Graham Clark
Sometimes my Java programs go into an unexpected infinite loop. I run these through TextPad, so the only way to stop them is to close the "Command Results" window. However, this does not kill the Java process - I have to go into Task Manager and do this manually. Is there a way of getting TextPad to properly kill the Java process?
(this is on windows 2000)
thanks,
Graham.

Re: Killing Java process

Posted: Tue Mar 05, 2002 1:22 am
by Shawn Deleurme
If you like living dangerously you could get the cygwin package and use the command

c:\> kill java.exe

Easier yet, you could call it from a UserTool. This may kill any other java procs though.