![]() |
![]() |
![]() |
![]() |
![]() |
|
When you set the CLASSPATH environment variable, you must provide
for all the directories that contain classes in the value of the
CLASSPATH variable, including the directory that is the current
directory when you are testing programs. Accordingly, the following is a
typical value for the CLASSPATH variable in a Windows
environment:
*-- An author has many package names relative to d:\phw
|
| *-- Include the current directory,
v v whatever it may be
------- ---
d:\phw;d:\phw\onto\java; .
----------------
^
*-- Same author uses this directory to test
programs that do not use package statements