From: Doug M. <do...@hy...> - 2010-05-03 17:54:24
|
You could use JNA instead. The wikipedia page even has a kill() example: http://en.wikipedia.org/wiki/Java_Native_Access You'd just need to conditionalize for Windows and call into kernel32.dll's TerminateProcess(). The sigar source is in src/sigar_sigar.c:sigar_proc_kill |