First page Back Continue Last page Graphics
External References and the CLASSPATH Variable (cont'd)
The CLASSPATH variable specifies directories the java compiler should search for external classes
The simplest use of CLASSPATH:
- 7% setenv CLASSPATH .
- This sets the class path to the list containing the current directory
Now if you do:
- 8% javac test.java
- the object file test.class will be created
- Note that MyInt.java is automatically recompiled if it has changed since test.class was last created