title: java stack dump on windows
body: <p>I have a running java process in a standard windows command window. ie i have run 'cmd' and typed in java -jar ...</p>
  
  <p>I need to be able to get a full stack dump of all threads if at all possible.</p>
  
  <p>i remember that under linux you can send a message to the JVM via an option on the quit command.</p>
  
  <p>in <a href="http://java.sun.com/developer/technicalArticles/Programming/Stacktrace/" rel="noreferrer">this document</a> sun state </p>
  
  <blockquote>
    <p>To generate a stack trace on Windows
    95, or Windows NT platforms, enter the
    key sequence  in the
    window where the Java program is
    running, or click the Close button on
    the window.</p>
  </blockquote>
  
  <p>this is clearly wrong, as closing the terminal does nothing but kill the process and close the window.</p>