Noob question, apologies. I’m compiling Java in Windows Vista’s command-line and have so many syntax errors that some are being pushed off the top (a lot of ‘class, interface or enum expected’ errors which leads me to believe it’s an obvious syntax mistake early on in the code that I can’t spot). Does anyone know how I could get it to display those first errors?
Thanks in advance for the help.
You have several options:
route
stdoutandstderrto a file:javac [whatever] > file.out 2>&1
use an IDE
increase the ‘height’ of your command console’s buffer in “Properties/Layout/Screen Buffer Size” – I routinely set this setting to 6000 so I can scroll back a long ways…