Monitor program/process execution in windows using java
<p>I am trying to develop a small application that can monitor the programs/processes that are executing in a windows machine.</p>

<p>If the program/process is not supposed to run, it should be blocked. It works similar to an antivirus.</p>

<p>This is the basic idea.</p>

<p>I want to know the ways to hook into the OS to get notified about every single program/process trying to run in the machine.</p>

<p>And i want it in java... any help please?</p>
