Sun Microsystems 2 Tablet Accessory User Manual


 
10 Signature Test Tool 2.0 User’s Guide April 2008
CLASSPATH and -classpath Settings
TABLE 2-1 lists the requirements for setting the CLASSPATH environment variable and
the -classpath argument when running either the Setup or SignatureTest
commands. The table uses the following terms to describe the classes that must be
included:
Required classes - All superclasses and superinterfaces of the classes under test
Classes under test - The set of classes specified by a combination of the following
options:
-package
-PackageWithoutSubpackages
-exclude
Bootstrap and Extension Classes
Bootstrap and extension classes are those located in rt.jar and several other JAR
files under the Java-Home/jre/lib/ directory, where Java-Home is the base directory
of the Java platform runtime installation. For example, classes from the java
package such as java.lang.Object are bootstrap classes. Their location is already
available to the Java Virtual Machine environment. Because of this, they do not need
to be specified in the
CLASSPATH environment variable when reflection mode is used.
Furthermore, bootstrap and extension classes are always loaded from JAR files
located in the Java-Home/jre/lib/ directory, regardless of whether they were
specified in the class path or not. This is an important feature of the reflection mode.
TABLE 2-1 Settings for the Setup and SignatureTest Commands
Variable or Argument In Reflection Mode In Static Mode
CLASSPATH environment
variable
Must contain these:
sigtestdev.jar or
sigtest.jar.
Classes under test.
Other required classes,
except for bootstrap
and extension classes
described in “Bootstrap
and Extension Classes”
on page 10.
Must contain either
sigtestdev.jar or
sigtest.jar.
-classpath argument Required. Must contain
the classes under test.
Must contain these:
Classes under test.
All required classes.