copy of j-console.el from https://github.com/zellio/j-mode/
nial-console: j->nial