Originally posted by ramesh tadiparthi:
...the CLASSPATH variable is set to C:\Java\jre1.5.0_06\lib\ext\QTJava.zip
.java and .class files are in "jdk1.5.0_06\bin\examples" directory...
I think that's the problem: If you're starting out, you should usually
not set a system CLASSPATH value. If you delete this setting, then Java will revert to its default of looking for classes in the current directory, and you should be okay. But if you must set a CLASSPATH value, then be sure to add a dot (.) to the list so that Java will look in the current directory. If you are on a Windows machine, use a semicolon to separate values. Note the semicolon and dot at the end...
C:\Java\jre1.5.0_06\lib\ext\QTJava.zip;.