20

What modes are the best?

And any tips or tricks that make developing java in emacs a bit better.

Luke Girvin
  • 13,221
  • 9
  • 64
  • 84
Justin Tanner
  • 14,062
  • 17
  • 82
  • 103

5 Answers5

14

For anything else than casual Java editing, many people recommend the Java Development Environment for Emacs.

lindelof
  • 34,556
  • 31
  • 99
  • 140
  • 2
    I'm going to accept this answer, even tho I believe installing JDEE is a very painful process. – Justin Tanner Jul 27 '09 at 19:33
  • @Justin Tanner, love the silence after your comment (which seems right). Does no one have anything to add? Or is just that pain in setting up free tools is no problem? – Dan Rosenstark Feb 05 '10 at 16:23
  • 2
    @ Yar - I'm somewhat late to the party, but yes, installing JDEE is pretty annoying. It has multiple dependencies some of which are themselves hard to install, and a lot of the information is out of date. Its great once you get it going though – richiemorrisroe Nov 18 '11 at 11:57
9

Eclim is a project that uses eclipse running in headless mode to provide features to Emacs such as in-line error checking, auto import management, basic refactoring, etc. It's much easier than JDEE to set up and when paired with something like YASnippet I find myself more productive than I was in Eclipse. I currently have to go back for step through debugging and some project management, but I am pretty happy with it. If combined with something like JDIbug I think I would have even less reason to ever use eclipse directly.

Hope this helps

Baggers
  • 3,183
  • 20
  • 31
6

The best Java debugger for Emacs I've used is jdibug.

jcrossley3
  • 11,576
  • 4
  • 31
  • 32
4

I have used JDEE over two years.Unfortunately,it was too old and stopped.JDEE doesn't support new features since Java 5,e.g, we can't create enum type using JDEE. And the author didn't answer any questions.I am still using Emacs+JDEE,but I can't see the future of JDEE.

Dean Chen
  • 3,800
  • 8
  • 45
  • 70
1

Java refactoring for emacs:

http://www.xref-tech.com/xrefactory-java/main.html

Vugluskr
  • 1,426
  • 1
  • 12
  • 12