• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to write java code under EMacs?

 
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic