hi, I am working in Java from the DOS prompt. What should i do if i want to see all the compilation errors?( If i get, say, 10 errors, i get only the last 4 after the scroll...) I tried redirecting the compile results like this
javac StrEq.java > errtxt.txt The errtxt file is created but it doesn't contain anything... it takes 0 bytes on seeing the directory listing... Any clues? Shree
Hummmm. Hummm. Hummmmm. Apu not having much success. Have you tried unix, the redirection will work there. Actually, in the abscence of creating your own compiler, you can create your own class to compile and conserve output of the compiler. Bloody ridiculous, but what the hey.
[This message has been edited by Apu Nahasapeemapetilon (edited October 02, 2000).]
I am working in Java from the DOS prompt. What should i do if i want to see all the compilation errors?( If i get, say, 10 errors, i get only the last 4 after the scroll...) I tried redirecting the compile results like this javac StrEq.java > errtxt.txt The errtxt file is created but it doesn't contain anything... it takes 0 bytes on seeing the directory listing...
Use this instead: javac -Xstdout StrEq.java > errtxt.txt Marilyn
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Hi Marilyn, -Xstderr won't work with JDK 1.3; they've removed the X function compatibility. David J. Eck includes a small program, cef.java, to do re-direction on Win98 systems. He has an online book Introduction to Programming Using Java and includes the code and instructions in an Appendix, Some Notes on Java Programmin Environments ------------------ Jane