title: System.out to Unix line endings on Windows
body: <p>In Java, newly created output streams look at the system line separator property to decide between Unix and Windows line endings, but System.out has already been created by the time your program starts, so altering that property has no effect on that stream.</p>
  
  <p>If you want <code>System.out</code> to use Unix line endings, despite running on Windows, is there a way to do this other than eschewing <code>println()</code> and always using <code>print("...\n")</code>?</p>