Errors exceed certain number of rows unable to see the errors.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Thursday, November 1, 2001 12:16 AM

I have a question about the SDK, particularly javac (Using version 1.3.1). Sometimes during compilation I can get a lot of errors in the code; because I run a Win98SE machine whose DOS box cannot scroll (I know it is possible on NT by setting the properties), if the errors exceed a certain number of rows then I am unable to see previous ones. Is it possible to redirect the messages to a file? I've tried the redirection operator but it doesn't work, i.e.: javac blah.java > errfile.txt The file is created but remains empty. It works with the interpreter though (java blah > errfile.txt), it also works with assemblers, e.g. tasm blah.asm > errfile.txt.    More>>

I have a question about the SDK, particularly javac (Using
version 1.3.1).

Sometimes during compilation I can get a lot of errors in the code;
because I run a Win98SE machine whose DOS box cannot scroll (I know
it is possible on NT by setting the properties), if the errors exceed
a certain number of rows then I am unable to see previous ones.

Is it possible to redirect the messages to a file?

I've tried the redirection operator but it doesn't work, i.e.:
javac blah.java > errfile.txt
The file is created but remains empty.

It works with the interpreter though (java blah > errfile.txt), it
also works with assemblers, e.g. tasm blah.asm > errfile.txt.

Any ideas of how I could achieve the same effect?

The good side is I've learnt to be more careful with code - thus
generating a lot less errors :). Thanks in advance.


Hrao.

   <<Less

Re: Errors exceed certain number of rows unable to see the errors.

Posted By:   Anonymous  
Posted On:   Monday, November 5, 2001 02:57 AM

Sure you can..


Instead of javac blah.java > error.log


use this:


javac -J-Djavac.pipe.output=true blah.java > error.log


I hope this helps..


Ra'ed
About | Sitemap | Contact