Problem with saving JAVAC output to file

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
drinovc.copy
Posts: 6
Joined: 26 Feb 2010 10:38

Problem with saving JAVAC output to file

#1 Post by drinovc.copy » 26 Feb 2010 10:49

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.

drinovc.copy
Posts: 6
Joined: 26 Feb 2010 10:38

Re: Problem with saving JAVAC output to file

#2 Post by drinovc.copy » 26 Feb 2010 11:13

I found a solution!

Code: Select all

javac test.java 2> tempFile.txt

Post Reply