Sandro's answer is good for a true command line tool. On unix, emacs and vim are truly the only games in town when it comes to complex command line editors, so a good Java mode for one of them is what you want.
However, I want to note that even if the server does not have an X server, you can still run graphical programs on it - they just need to connect to the X server on another computer, such as your desktop. It sounds strange, but in fact this is the meaning of X-windows: it was originally designed so that people could run programs on powerful computers with a common time and access them from cheap, dumb graphic terminals (this was in the early 80s, when people thought it was a good idea).
Nowadays, the easiest way to do this is to use SSH to connect to a remote computer, telling it to enable X11 forwarding. With OpenSSH command line SSH, it's as simple as adding the -X
flag; I'm not sure how you do it with PuTTY, but I'm sure it is possible. Once you are logged in with X11 forwarding enabled, you can simply start the X clients (like Eclipse or IDEA) and they will connect to your local X server.
Oh, you need a local X server. On Windows, you can install Xming
All this requires a bit of work (although not a lot!), So if you just want to hack, all my features come with Eclim. But if you plan to do a lot of remote development, and you don't have much attachment to curses interfaces, this might be the most convenient route.
source share