Logged In: NO

For JDE, this in your .emacs.el will do the trick:

(add-hook 'jde-entering-java-buffer-hook
'flymake-start-syntax-check-for-current-buffer)