In ordinary standalone
applications, a resource locator can access information in any directory
specified by the CLASSPATH
operating-system environment
variable, or, if a relative path is supplied, in subdirectories of those
directories specified by CLASSPATH
.
Suppose, for example, that you run a standalone application on a computer
that has the directory structure shown in Segment 838. Further
suppose that the value of the CLASSPATH
variable is as follows:
\kap;phw\onto\java;.
Then, your application can access files in
the current directory (specified by the .
in the value of the
CLASSPATH
variable), in the \kap
directory, and in the
\phw\onto\java
directoryand, if relative paths are provided, in
the subdirectories of those directories.