Thanks to the blog post at www.credmp.org, I’ve got Java flymake support working in Emacs. It works surprisingly well (and fast) using the Eclipse compiler.
When setting it up, be sure to get the ecj.jar off the Eclipse website, I tried first with the ecj.jar supplied with the Debian package and that didn’t suffice.
Currently, the best solution to see the errors and warnings, is to hover the mouse over the coloured line. Works well when using a track point, but still, it would be nicer if I could get a one line message in the mini buffer.
Be that as it may, I’ve finally got Mickey Mouse help and support for generics in Emacs!

Hi,
try the following elisp bit:
(defun credmp/flymake-display-err-minibuf ()
“Displays the error/warning for the current line in the minibuffer”
(interactive)
(let* ((line-no (flymake-current-line-no))
(line-err-info-list (nth 0 (flymake-find-err-info flymake-err-info line-no)))
(count (length line-err-info-list))
)
(while (> count 0)
(when line-err-info-list
(let* ((file (flymake-ler-file (nth (1- count) line-err-info-list)))
(full-file (flymake-ler-full-file (nth (1- count) line-err-info-list)))
(text (flymake-ler-text (nth (1- count) line-err-info-list)))
(line (flymake-ler-line (nth (1- count) line-err-info-list))))
(message “[%s] %s” line text)
)
)
(setq count (1- count)))))
Just bind it to a usefull key and you have messages in your message area
Regards
Core