javac output redirection - TechRepublic
General discussion
November 19, 2000 at 12:38 PM
boyarsky

javac output redirection

by boyarsky . Updated 25 years, 6 months ago

How does one redirect the output of the java compiler in DOS? When there are many error messages from javac, they fill up more than one screen.

I have tried redirection (>), stderr redirection(2>) which gives an error message and calling the compiler from a batch file.

I am looking for a way of either viewing the javac output one screen at a time or storing the output in a file. This is only an issue in DOS, in UNIX it works fine.

This discussion is locked

All Comments