classpath and cannot find symbol

I have been working on getting my first program (a simple one) to compile/run. I've tried to include javax.swing.JOptionPane however I am not sure where/why I can't get it to do so. I'm using linux and I'm sure the class must be in one of the jar files, but I can't seem to figure out how to point it in the right direction.

Any pointers would be much appreciated.

Thanks!!

[397 byte] By [new2ita] at [2007-10-3 4:22:49]
# 1
I for some reason am having a difficult time adding any sort of classpath. I am using Linux and have tried set CLASSPATH=/opt/jre1.5.0_06/lib export CLASSPATHbut when I type echo $CLASSPATH it still returns nothing.Any thoughts?
new2ita at 2007-7-14 22:25:09 > top of Java-index,Archived Forums,Java 2 Software Development Kit (J2SE SDK)...