How Can I Pipe the Java Console Output to File Without Java Web Start?
I am wanting to pipe the Java console output (generated by
System.out.println and its ilk) to a file. I found an excellent solution
here to enable Java tracing, but this isn't working for me (no log file
shows up in any location on Mac OS X or Windows). From what I can tell,
this is because I'm using a plain Java app without Java web start. So how
can I do this with Java code that does not use Java web start? Ideally, I
would like a solution that does not require modifying code.
No comments:
Post a Comment