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

    Compiler Error  Export

    843810
      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
          thomas.behr
          Wrong forum. This is a Windows CMD question, so go ask in a windows tech support forum or search MSDN Technet.

          sigh

          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.