Always the classpath should be set to the library where all the class files are stored i.e., the JavaHome/lib, where JavaHome is the dir where java is loaded. So set ur classpath. For beginners u need not set the classpath, all the class files will b loaded in the pwd(present working directory) and it is sufficient that u set the Path to the bin direcory.
Joined: Apr 18, 2002
Actually, I needed to drop the final \ from the classpath Set statement (C:\javacode ).. Ah well... one day, I'll get the hang of this stuff...