Page 1 of 1

Problem with saving JAVAC output to file

Posted: 26 Feb 2010 10:49
by drinovc.copy
I want to save javac output to file, but the regular commmand doesn't work.

my code:

Code: Select all

javac test.java > tempFile.txt


Any ideas how to do this?

I am using Windows 7 64-bit OS.

Re: Problem with saving JAVAC output to file

Posted: 26 Feb 2010 11:13
by drinovc.copy
I found a solution!

Code: Select all

javac test.java 2> tempFile.txt