I wrote this basic JavaCC? mode for my compilers class. I don’t really need it anymore, but if you have any requested features I might be able to implement them.
Lisp:javacc-mode.el