title: Get the windows running process description In java
body: <pre><code>       import java.io.BufferedReader;
         import java.io.IOException;
         import java.io.InputStreamReader;
         public class Main {
              public static void main(String[] args) {
              try {
                  String line;
  
          Process p = Runtime.getRuntime().exec
                  (System.getenv("windir") +"\\system32\\"+"tasklist.exe");
              BufferedReader input = new BufferedReader(new InputStreamReader(
              p.getInputStream()));
              while ((line = input.readLine()) != null) {
              System.out.println(line); // &lt;-- Parse data here.
             }
             input.close();
             } catch (Exception err) {
              err.printStackTrace();
             }
      }
  
  }
  </code></pre>
  
  <p>The output of this program shows the process list from windows task manager .....but i also need the Description of the running process  ??? How do i get that???</p>