title: Programmatically (in C#) get java application name from javaw.exe process?
body: <p>Is there a way to get name of the java app associated with a javaw.exe?  Basically I need to write a tool, to check (daily) if a specific java app is running on our server (and if not the tool will email me).</p>
  
  <p>I would like to do this in C#...but if there isn't a way I would be open to other suggestions.</p>
  
  <p>I have read this question <a href="https://stackoverflow.com/questions/265762/how-to-rename-java-exe-javaw-exe-process/265794">265794</a> but that is more about modifying the java app itself...do <em>all</em> java app's really appear as javaw.ex, unless 'wrapped'??  </p>