JDK Tools

The JDK provides a variety of tools:

  • Java Interpreter

  • AppletViewer

  • Java Compiler

  • Java Disassembler

  • javah

  • Java Documentation Generator

  • Java Debugger

The Java Interpreter

Compiled Java applications are run by using the Java interpreter java. The syntax for the Java interpreter is

    java [options] nameofclassonly
					

where

  • nameofclassonly specifies the class name (the extension .class is not required).

  • options specifies various options that can be used with the Java interpreter. These options are shown in Table 4.5.

Table 4.5. Java Interpreter Options
OptionDescription
-helpShows all the available options.
-versionDisplays the JDK version in use.
-v or -verboseDisplays classes as they are loaded.
-cs or –checksourceChecks whether the source code is newer ...

Get e-Commerce Applications Using Oracle8i and Java from Scratch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.