
1 5.6 Access Control 63
This provides a list of starting search directories, which can include jar archive files, searched
for classes by tools such as the javac and java. We cover the jar utility in Section 7.7.2. For
example, suppose the tool is searching for packagel.Classl and the classpath option, for
Windows, is
-classpath C" \myjava\myapps; C' \myjava\myjarl. jar
For Unix, we would use a colon and forward slashes as separators. The tool would look for
Classl in directory \myjava\myapps\packagel and in myjarl, jar for packagel. Classl. javac (but
not java) will, by default, also search in the current directory. ...