In principle you may create the Java source files (.java)
with any plain text editor, saving it into something like
MyProgram.java. After that, you need to compile
the program by entering |
and run it with
an editor that 'knows' Java or a Java IDE (Integrated Development
Environment) are the best way to go.
On Windows, you might consider one of many good 'editor for programmers', able to
perform syntax highlighting for Java and other programming languajes,
On Macintosh, :
TextWrangler is a powerful general purpose text editor, and
Unix and server administrator's tool.
Integrated Development Environment:
a free, open-source
Integrated Development Environment to create
desktop, enterprise, web, and mobile applications with the
Another Java IDE option is
eclipse, an open source community
whose projects are focused on providing an extensible development platform and
application frameworks for building software. Difficult to install and configure.
For Windows only, consider JCreator,
that provides the user with a wide range of functionality such as :
Project management, project templates, code-completion, debugger interface,
editor with syntax highlighting, wizards and a fully customizable user interface.