### CLASSPATH - environment variable for JAVA setenv CLASSPATH .:path1:path2where "path1" is the full path name of your directory where the java compiler is to look for java classes. Separate several paths with ":".
/usr/local/jdk-1.5/bin
To compile a java application, you type
% javac MyFile.javawhich creates a file of Java byte code called MyFile.class.
% java MyFile
% java -version