• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to write java code under EMacs?  RSS feed

 
Qunfeng Wang
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm new to Linux. I heared EMacs is a greate editor even more than that.How do I use it begin my java programming? Can use javac in it? And how to debug?
Please give me some information or useful links on it. Thanks in advance.
 
Tim Holloway
Saloon Keeper
Posts: 18792
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, emacs is an world-encompassing program masquerading as a text editor. I've used it effectively for major projects.

However. If you have at least a 1Ghz processor and 512MB of RAM, you're probably better off using Eclipse. Eclipse is GUI and does things in ways that Windows users (and their compatriots on Macs, et al) are comfortable and generally familiar with.

Emacs is good for less powerful systems and/or if you really love LISP and WordStar. Emacs was originally designed for a rather unusual keyboard and there are enough control/escape sequences to tie your fingers in knots.

For Java developing, install the JDE package. It's not as powerful as the Eclipse Java support stuff, but it can be a big productivity aid. And - if you really love LISP - you can extend it more easily (IMHO) than you can extend Eclipse's Java support (less to learn).

You can debug within Emacs by plugging in a debugger such as DDD + the Java debugger. Basically, you can spend your whole life inside Emacs (As Richard Stallman is reputed to do). Did I mention that it helps if you really like LISP?

Anyway, I hope this helps.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!