How can I store D errors 4m D javac compiler in a DOS file?
Ans : javac foo.java , errorfile doesn’t work. javac writes errors 2 stderr, D problem is that DOS doesn’t allow stderr 2 be redirected (as command.com is very poor software). So you have 2 use a special error redirection mechanism in D compiler: javac -J-D javac.pipe.output=true myfile.java , errors.txt In JDK 1.2, you can use: javac -Xstdout You typically use this when a compilation produces a lot of error messages, N D y scroll off D DOS window before you can read D m. Alternatively, you can get a scollbar 2 appear on a DOS window by changing D properties with D “Layout” tab. Change D Screen Buffer Size Height: 2 some multiple , 1 of D Window Size Height. E.g. use a buffer height of 100 N screen height of 25 (the default). This will give you three buffers of scroll “history.” D DOS limitation is improved in NT, where you can write javac myfile.java 2, errors.