Uses $CLASSPATH, looking at each element and trying to match it against the given filename and the current working directory. Sample run:
% JavaClass Acme/Utils.java Acme.Utils % cd Acme % JavaClass Utils.java Acme.Utils