Attach your classes in one document in your Notes database. In your passthrough HTML code that references the Java applet, set your codebase to that document :
<applet code=Clock1.class
codebase="/database.nsf/view/documentkey/$file/"
width=100% height=22 align=baseline>