Posting this so that others may know how to set classpath in Redhat linux:
I was able to solve my classpath problem. Now I don't need to type:
javac -classpath . filename
and in my
test programs i can now type the real class name. e.g.
import javax.swing.JOptionPane;
this is what I did to my classpath:
I don't make classes as root.
