I tried the following.
javac helloworld.java >error.txt
the above line created a text file that was empty
javac -verbose helloworld.java >error.txt
the above line created a text file that was empty
Usually the redirection operator works with most dos apps. I am running Win 98 SE and using java 1.31. Anyone with any idea what I am doing wrong or how to get the compiler to output to a file please post.