I want an editor that is as good as TextPad (for Windows) for compiling and running Java programs on Ubuntu 12.04. Please suggest one.
6 Answers
Geany
From the official site:
Geany is a text editor using the GTK2 toolkit with basic features of an integrated development environment. It was developed to provide a small and fast IDE, which has only a few dependencies from other packages. It supports many filetypes and has some nice features.
jEdit
Additionally, jEdit (man page) seems to be another excellent option for your tasks.
From the man site:
jEdit is a cross-platform text editor written in Java. It has an extensive feature set that includes syntax highlighting, auto indent, folding, word wrap, abbreviation expansion, multiple clipboards, powerful search and replace and much more.
Furthermore, jEdit is extremely customizable, and extensible, using either macros written in the BeanShell scripting language, or plugins written in Java. With plugins, you can create a very powerful development environment for HTML, XML, C/C++, Python, Perl, Ruby, Lisp, Scheme, and many others.
jEdit Requires Sun Java 2 version 1.5.
jEdit is released under the GNU General Public License, which can be found in the online help.
- 36,890
- 56
- 97
- 151
- 19,772
I suggest Eclipse! It have a lot of documentation in diferent languages and it's a wonderfull IDE

- 4,171
- 86
IntelliJ IDEA, a fully fledged Java IDE by Jetbrains, has gained a lot of traction during the recent years. It provides integration with many common frameworks and tools like Git, Web development, Java application servers and Android.
I consider it to be a worthy successor to Eclipse, which has become slow and collected a lot of cruft and asinine behaviour.
IntelliJ IDEA “Community Edition” is free, open-source software (and the base for the “Ultimate Edition” which includes a bunch of features based on closed-source, proprietary extensions geared towards professional collaborative software development with larger code bases).
- 36,890
- 56
- 97
- 151
Look, there is an IDE called NetBeans in which you can edit, compile and run Java programs. This program is for editing in java. I've tried it on Ubuntu 11.10 without any complication for University homework and I have read that it runs natively on 12.04

NetBeans includes its own editor which has several features useful for programming, download it in: http://www.oracle.com/technetwork/java/javase/downloads/index.html
Sorry my English, I am using a translator since my native language is the Spanish. Best regards
Notepad ++ is a better notepad. You could also look for eclipse or Netbeans for java editting.
Here are links for eclipse which is what I use: http://www.eclipse.org/downloads/ I use the classic version but have the EE installed as well
- 11


