1 Reply Latest reply: Jul 29, 2008 6:31 AM by thomas.behr RSS

    Compiler Error  Export

      Is there anyway to export the error results as a txt file when we compile java program in Windows XP CommandPrombt?
        • 1. Re: Compiler Error  Export
          Wrong forum. This is a Windows CMD question, so go ask in a windows tech support forum or search MSDN Technet.


          You might try "javac YourSource.java > output.txt 2>&1", though.

          Alternatively use a dedicated build tool such as ANT, MAVEN, or an IDE. These tools oftentimes support redirecting compiler output, too.