Winp – Windows Process Libary

It is not an easy task to manipulate with Windows process from Java program.

The standard JDK allowed create native process, and destroy the native process that created by same Java program. (via Process, ProcessBuilder, and Runtime)

And thanks to Winp from Kohsuke Kawaguchi, now you can do more on Windows processes.

With this tiny API (12k in size), you may kill a Windows process that not created by your Java program. And you can get the command line argument of the process (for example, not just a “java.exe” you get in task manager, but “java -server HelloWorld arg1”).

However, this API have 2 limitations:
1) It is for Windows only
2) It is for 32bits Windows only

This API is published under BSD license.


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply