How to capture java compiler errors messages
|
Newbie Member
|
|
| 12Jul2008,07:39 | #1 |
|
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.
|
|
Invasive contributor
|
|
| 12Jul2008,10:12 | #2 |
|
have you tryed
Code:
$javac ClassToCompile.java>file.txt |
|
Newbie Member
|
|
| 12Jul2008,10:16 | #3 |
|
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?
|
|
Invasive contributor
|
|
| 12Jul2008,10:29 | #4 |
|
yea sure is ill post it up in about 30 minutes k
|
|
Newbie Member
|
|
| 13Jul2008,19:46 | #5 |
|
anyone please help me. . .i need to know how to do it.
|
