title: Get Command Line of a java process
body: <p>As we all know all java processes appear in task manager as javaw.exe. I want to get command line of all such java processes.  A tool called <a href="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx" rel="nofollow noreferrer">ProcessExplorer</a> does the same thing but it displays all that in a GUI and i am looking at a programming solution for the same.</p>
  
  <p>Here is a snapshot from <a href="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx" rel="nofollow noreferrer">ProcessExplorer</a> tool. </p>
  
  <p><img src="https://i.stack.imgur.com/1Lqbh.png" alt="enter image description here"></p>
  
  <p>Any ideas??</p>