My first java program of applet Analog-clock note: you must have jdk installed on your PC simple analog clock synchronised to system open cmd navigate to the path of the java file use command javac clock.java (press enter) appletviewer clock.java (press enter)