PDA

View Full Version : console Java editor



PetePete
March 1st, 2007, 04:37 PM
hi
i've got a strange situation which requires me to program through the console (ssh'ing into remote box) ... is there a good java editor which i can use through the console, and if at all possible compiles/runs the classes as well ? (by that i mean calls the java program to compile it)

kaamos
March 1st, 2007, 06:18 PM
emacs -nw
vim

:)

Tomosaur
March 1st, 2007, 06:26 PM
Emacs would probably best suit your needs, although it will take a little while for you to learn how to use it. I personally just use nano for my CLI text editing needs. Emacs does have lots of IDE functionality (if it's set up right), but I find it just gets in the way,

Ramses de Norre
March 1st, 2007, 07:00 PM
I like vim the best, but just like emacs you'll need to get used to it. They both have a rather steep learning curve...
Is ssh with X-forwarding an option?

For the compiling and such you might want to look into screen and javac.