title: Write File to Desktop
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/570401/in-java-under-windows-how-do-i-find-a-redirected-desktop-folder">In java under Windows, how do I find a redirected Desktop folder?</a><br>
    <a href="https://stackoverflow.com/questions/1080634/how-to-get-the-desktop-path-in-java">How to get the Desktop path in java</a>  </p>
  </blockquote>
  
  
  
  <p>I want to write my results to the desktop of the user rather than to the same directory as file class that I am running.</p>
  
  <p>I am using Mac OS.. How about in Window?1</p>
  
  <p>Thanks</p>