JDE User's Guide
Contents
Introduction
Editing Java Source Files
Generating Code Automatically
Compiling Java Programs
Building Java Applications
Running Java Applications
Running Applets
Debugging Applications
Setting a Global Classpath
Using Project Files
Browsing JDK Documentation
Browsing Source Code
Configuring the JDE
Customizing jde-mode
Introduction
Welcome to the JDE User's Guide. This guide explains how to use
the JDE to develop Java applications and applets. The guide assumes that
you are familiar with Emacs and JavaSoft's Java development tools.
About the JDE
The Java Development Environment (JDE) is an Emacs Lisp package that
interfaces Emacs to third-party Java application development tools,
such as those provided by JavaSoft's Java Development Kit (JDK). The result
is an integrated development environment (IDE) comparable in power to many
commercial Java IDEs. Features include:
-
source code editing with syntax highlighting and auto indendation
-
compilation with automatic jump from error messages to responsible line
in the source code.
-
generates class and method skeletons automatically
-
run Java application in an interactive (comint) Emacs buffer
-
integrated debugging with interactive debug command buffer and automatic
display of current source file/line when stepping through code
-
browse JDK doc, using the browser of your choice
-
browse your source code, using the Emacs etags facility or a tree-structured
speedbar.
-
supports latest version of JavaSoft's Java Development Kit
-
runs on any platform supported by Emacs and Sun's Java SDK (e.g., Win95/NT
and Solaris)
-
easily and infinitely customizable
-
works with FSF Emacs and XEmacs
JDE Requirements
The JDE requires the following software:
-
FSF Emacs or XEmacs
on Unix platforms; the 19.34.6 version of NT/Emacs
on Windows platforms, for general source file editing and tool integration
functions.
-
cc-mode, version
5.18 (or higher), an Emacs Lisp package for editing Java source files.
Versions earlier than 5.18 contain a bug that causes the JDE pulldown menu
to appear twice.
-
custom, version 1.9960
(or higher), an Emacs Lisp package for customizing cc-mode (and eventually
JDE) settings, if you have a version of Emacs older than Emacs 20.1
or XEmacs 20.3. Note that Emacs 20.1 and XEmacs 20.3 already include the
latest version of custom. The separately bundled version of custom (i.e.,
custom 1.9961) is intended only for backward compatibility with older versions
of Emacs and XEmacs. It does not work with the latest versions.
-
andersl-java-font-lock.el,
an Emacs Lisp package for syntax coloring Java source (not required for
Emacs/XEmacs 20.0 or greater).
-
Java Development
K