 <p>You can use <code>Process</code> and <code>Runtime</code> classes</p> <p>Eg : </p> <pre><code>Runtime r = Runtime.getRuntime(); Process p = r.getRuntime().exec("C:\\newfolder\\run.exe"); </code></pre> <p>For taking screenshot refer to <a href="http://stackoverflow.com/questions/58305/is-there-a-way-to-take-a-screenshot-using-java-and-save-it-to-some-sort-of-image">how to take sc in java</a></p> <p>This way you can save the image and then send this image to user.</p> <p>For sending image to client refer to <a href="http://stackoverflow.com/questions/5085105/sending-files-from-server-to-client-in-java">how to send file from sever to client</a></p> <p>these are.the pieces , you need to put them together </p> <p>UPDATE 1 : to kill the exe you can use <code>p.destroy()</code> ( not a good implementation though, as it forcefully kills the process)</p> <p>UPDATE2 : to check if the process( which is executing your exe) hence to check if the exe is running or not, you can refer to <a href="http://stackoverflow.com/questions/2318220/how-to-programmatically-detect-if-a-process-is-running-with-java-under-windows">how to check if a process is running</a></p>