Welcome to JavaRanch, Keith!
When I compile source and get errors, I would very mutch like these errors to be placed in an error log...
I have tried "Javac bob.java > log.txt" and this doesn't work.
Our systems run Windows 98se. On Windows XP, "javac bob.java 2> log.txt" works.
On Windows XP, the > symbol is for normal console output, and 2> is for error output.
If that doesn't work, then from
the javac documentation, I gather that the -Xstdout javac switch should redirect output to the System.out output stream, and so a statement such as "javac -Xstdout bob.java > log.txt" should do the trick, but it doesn't seem to work on my Windows XP machine.
You also might want to try "javac bob.java > log.txt 2>&1" which should direct both normal and error output to the log.txt file.
If you haven't tried it yet, you might want to try the search feature of our forums. (Note that the search page link is at the top right of this page.) I ran across
one thread by Jon Dornback that is chalk full of advice on this topic.
Good luck.
[ October 12, 2003: Message edited by: Dirk Schreckmann ]