Show More Than 100 Errors On Compile

I am always a bit frustrated when the compiler returns only 100 errors and not them all.
javac has a parameter that should output more (-Xmaxerrors)
http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javac.html
Does this just go in the Additional Command Line Parameters box in the Compiler options?

This thread talks about the eclipse compiler (that I just noticed is in a drop down with jikes in the Compiler options too)
http://intellij.net/forums/thread.jspa?messageID=610200&#610200

What is the difference/pros/cons of javac, jikes and Eclipse compilers?

The eclipse compiler seems to output more errors without extra command line options, but are there performance differneces too?
I struggled to find a whitepaper describing this.

1 comment
Comment actions Permalink


yep, btw: note that the parameter is renamed to -Xmaxerrs in jdk1.6

This thread talks about the eclipse compiler (that I just noticed is in a drop down with jikes in the Compiler options too)
http://intellij.net/forums/thread.jspa?messageID=610200&#610200

jdk 1.5 wasn't available at that time (which is probably the first jdk with the javac option)

What is the difference/pros/cons of javac, jikes and Eclipse compilers?

I don't know exactly, but jikes used to be incremental and adds some optimisations to your code (as far as it's a few years back that I've used it myself)
btw: it's no longer being actively developped (As wikipedia suggests)
about the Eclipse compiler : I personally would only use the Eclipse compiler on a project where the rest of the team (still) uses Eclipse.

The eclipse compiler seems to output more errors without extra command line options, but are there performance differneces too?
I struggled to find a whitepaper describing this.


I am always a bit frustrated when the compiler returns only 100 errors and not them all.
javac has a parameter that should output more (-Xmaxerrors)
http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javac.html
Does this just go in the Additional Command Line Parameters box in the Compiler options?

0

Please sign in to leave a comment.