Basic Beginner Help
In Windows, in a command prompt, is there a way to capture error messages generated when running a Java class file, using the syntax >java MyDemo.class?
I've tried piping it into a text file using >java MyDemo.class > error.txt
but this creates an empty error.txt file.
Essentially I want to be able to paste the error into a forum post.