Once you set CLASSPATH for testing standalone Java applications, you are ready to invoke your application using the Java Runtime Environment (JRE).
The following table describes the commands you can use:
Command | Description |
---|---|
-cp | Searches first through directories and files specified, then through standard JRE directories. |
-classpath |
Ignores the value of your CLASSPATH environment variable. You must specify a complete search path on the command line. Does not search the standard JRE directories. |