Last time I touched java (a year ago), malabar-mode (<a href="https:&#x2F;&#x2F;github.com&#x2F;m0smith&#x2F;malabar-mode" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;m0smith&#x2F;malabar-mode</a>) was the most feature-rich environment for doing java in emacs. However, it couldn&#x27;t cope with the complex build system for the project I was working on, so I ended up using intellij instead (if malabar-mode had worked for this project I would have preferred to stay in emacs).