title: How do I get java to output to a log when run from a batch?
body: <p>I have a java file called "Ares.jar" that runs every 5 minutes via windows scheduled tasks, the batch calls: </p>
  
  <pre><code>java -jar Ares.jar &gt;&gt; Ares.log  
  </code></pre>
  
  <p>I'm not seeing any error output, is there some way to make the errors (system.err.println / exception.printStackTrace(); )go to a file? </p>
  
  <p>Thanks.</p>