http://java.sun.com/docs/books/tutorial/uiswing/start/_classpath.htmlWin32 
If you're using the JDK Applet Viewer, then instead of specifying the CLASSPATH environment variable (as described in Setting Environment Variables), you can use the -J option of the appletviewer command. For example: appletviewer -J"-classpath c:\swing-1.1.1\swing.jar;c:\jdk1.1.8\lib\classes.zip" http://java.sun.com/docs/books/tutorial/uiswing/start/HelloSwingApplet.atag