This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

simple java code editor...

 
kasun chathuranga
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Ubuntu 7.10 on my PC. I want to use a simple java code editor rather than Netbeans or Eclipse. It's better if the editor provides some user friendly things like when type the left bracket, it will auto generate the right bracket and place the cursor in the middle of those. The key words are getting highlighted and small things you know...
I have used such kind a editor on windows called "phpdesigner".
Can somebody direct me to a free editor which runs on Ubuntu environment.

thank you!
 
f. nikita thomas
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you google around you'll find many opensource ide's and editors. jedit comes to mind ...
 
Campbell Ritchie
Sheriff
Pie
Posts: 49405
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using the gnome desktop, then gedit with automatic indentation and syntax highlighting set is a very nice editor. I use it all the time.
 
Joe Ess
Bartender
Posts: 9298
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use JEdit for scripts and simple projects. It's cross platform (yea, java) so you can have the same environment in both Windows and *nix. It has a pretty good plugin library so you can add features as you need them (code completion, XML schema checking, hex editor, compiler integration to name a few).
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15359
39
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could just use gedit, the default text editor on your Ubuntu system. It does syntax highlighting for Java.

A very nice, lightweight IDE which is very easy to use is Geany. It's in the Ubuntu repository, so it's easy to install:
 
Brian Moakley
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used to use Kate back in the day. I liked it because it had a console embedded in the application so I could code and compile. Note, It does require the KDE libraries (btw).
 
Campbell Ritchie
Sheriff
Pie
Posts: 49405
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, Kate would require KDE; Kate Konqueror and Kedit work on the K desktop and gedit works on Gnome. I shall try Geany, as Jesper Young suggests; I often use Ubuntu.
 
Rob Spoor
Sheriff
Pie
Posts: 20546
57
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nedit can also have syntax highlighting enabled. You'll have to do this manually once I think, then save the configuration. I don't really know since I don't program in Linux that much anymore, and if I do it's using VIM.
 
G. Red
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I like VIM / Gvim. It does a lot and is pretty compact, and almost always included any *nix install.

However, NetBeans is awesome. You should use it (or a similar IDE) if at all possible.
 
kasun chathuranga
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank x a lot!!
Geany is the editor which i'm looking for....
 
Joe Ess
Bartender
Posts: 9298
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Campbell Ritchie:
Yes, Kate would require KDE; Kate Konqueror and Kedit work on the K desktop and gedit works on Gnome.


Just to be picky, Kate requires KDE libraries and Gedit requires Gnome libraries. You can run Gedit in KDE and Kate in Gnome if the required libraries (not necessarily the complete desktop manager) are present.
For another example, Gimp, the popular image manipulation tool, is written using the Gnome libraries (GTK, Glib, and so on) and runs just fine in KDE (Kubuntu, in my case).
 
Campbell Ritchie
Sheriff
Pie
Posts: 49405
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Joe Ess:
Kate requires KDE libraries and Gedit requires Gnome libraries.
Oh, I never knew that. Thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic