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 javac MyProgram.java
and run it with java MyProgram .
However,
an editor that 'knows' Java or a Java IDE (Integrated Development
Environment) are the best way to go.
Editors:
On Windows, you might consider one of many good 'editor for programmers', able to
perform syntax highlighting for Java and other programming languajes,
:
EditPlus
and :
Crimson and
ConTEXT.
On Macintosh, :
TextWrangler is a powerful general purpose text editor, and
Unix and server administrator's tool.
Integrated Development Environment:
:
NetBeans IDE,
a free, open-source
Integrated Development Environment to create
desktop, enterprise, web, and mobile applications with the
Java platform, as well as C/C++, PHP, JavaScript, Groovy,
and Ruby.
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.
|