Im new to java and i want to know how to capture java compiler syntax error messages. . .please help me.
viber101 -1 Light Poster
Recommended Answers
Jump to PostWhat do you mean capture?
Jump to PostIf you are using Unix use this, to redirect the output to a file:
$javac ClassToCompile.java>file.txt
Jump to Post.im using bluej compiler which is convenient to use. is there posibility that i can save those error massages in a file using bluej?
Ok you can try running javac command with a redirection to a file with > both in linux and windows
javac .......java > error.txt
If you …
All 9 Replies
javaAddict 900 Nearly a Senior Poster Team Colleague Featured Poster
viber101 -1 Light Poster
javaAddict 900 Nearly a Senior Poster Team Colleague Featured Poster
viber101 -1 Light Poster
sciwizeh 62 Posting Pro in Training
viber101 -1 Light Poster
sciwizeh 62 Posting Pro in Training
sayedjustetc 0 Newbie Poster
sciwizeh 62 Posting Pro in Training
Alex Edwards commented: To the original crediter - please "approve" next time =) +2
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.