Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javac.Hello.java > a.txt Is it possible ?

Status
Not open for further replies.

sujitopics

Programmer
Oct 9, 2001
69
0
0
KR
Hi Friends

see the below statement

java Hello > a.txt

By using the above statement the output of Hello.java will be stored at a.txt.

Can we store the error messages using
javac Hello.java in a txt file ??

i mean like javac.Hello.java > a.txt

If possible please tell me how can i store the error messages while compiling.

Thanksinadvance

Yours

Suji
 
I just tried it and it didn't work for me either.... it created the text file for me but still spit the error messages to the console.

So I'm baffled too. I hope this helped! ;-)
- Casey Winans
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top