Java compilation errors limited to 100

openssid picture openssid · Jun 25, 2010 · Viewed 12.7k times · Source

I have a Java file,which when I compiled, I will be able to see only first 100 errors on console after that java compiler(javac) exits. How will I be able to see all the compilation errors on console? Thanks in advance- opensid

Answer

krock picture krock · Jun 25, 2010

Generally the compiler will give up after 100 errors. Most of the errors after this point will likely be caused by one of the first errors. If you must have more errors check out the javac options -Xmaxerrs and -Xmaxwarns