It would be good to add that as a default live errors profile, that can use shellcheck if it's installed. I'll put that on my list.
"next-error" is driven from the error configuration in Options -> Tools -> Configure Error Parsing. For your case, where it's detecting your command line as an error, that's from an overly accepting regex that we shipped with. To disable the problem regex, bring up the options dialog, and go to Tools -> Configure Error Parsing, and click on the "Java" expression category, and uncheck the "NJikes" error.
I've got an entry in my notes to disable that one in the default config anyway - Jikes is about as dead as you can get, and I've had other innocuous text get picked up as errors by that one RE.