Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   How to capture java compiler errors messages (http://www.go4expert.com/forums/capture-java-compiler-errors-messages-t12049/)

viber101 12Jul2008 07:39

How to capture java compiler errors messages
 
Im new to java and i want to know how to capture java compiler syntax error messages. . .because i wanted to save the compile errors in a storage area say like a database. please help me.

XXxxImmortalxxXX 12Jul2008 10:12

Re: How to capture java compiler errors messages
 
have you tryed

Code:

$javac ClassToCompile.java>file.txt
yet?

viber101 12Jul2008 10:16

Re: How to capture java compiler errors messages
 
i already tried it. it saves the whole java source code including syntax errors but i just want is save only the syntax errors. .im using bluej compiler which is convenient to use. is there posibility that i can save those error massages in a file using bluej?

XXxxImmortalxxXX 12Jul2008 10:29

Re: How to capture java compiler errors messages
 
yea sure is ill post it up in about 30 minutes k

viber101 13Jul2008 19:46

Re: How to capture java compiler errors messages
 
anyone please help me. . .i need to know how to do it.


All times are GMT +5.5. The time now is 09:51.