
1.5 An Introduction to Programming 27
To run the application, you invoke the JVM from the command line:
java ClassName
Typically, programmers use an Integrated Development Environment (IDE)
to develop applications. An IDE consists of a program editor, a compiler, and a
run-time environment, integrated via a Graphical User Interface. The advan-
tage to using an IDE is that errors in the Java code that are found by the com-
piler or the Java Virtual Machine can be linked directly to the program editor at
the line in the source file that caused the error. Additionally, the Graphical User
Interface enables the programmer to switch among the editor, compiler ...