Download precompiled bytecode


This browser does not understand the APPLET tag and does not support Java.
(1) Point your browser at
http://java.sun.com/applets/Clock/1.0.2/example1.html

(2) After admiring the clock applet, View Page Source. You'll see approximately

<APPLET CODEBASE = "." CODE = "Clock2.class" WIDTH = 170 HEIGHT = 150>
Your browser is completely ignoring the APPLET tag!
</applet>
This means that the full URL of the file Clock2.class is
http://java.sun.com/applets/Clock/1.0.2/Clock2.class

(3) Telnet to acf5.nyu.edu and download the file Clock2.class to your public_html directory:

cd
cd public_html
pwd
lynx -source http://java.sun.com/applets/Clock/1.0.2/Clock2.class > Clock2.class
ls -l Clock2.class
chmod 444 Clock2.class
ls -l Clock2.class

(4) Write the following in one of your web pages in your public_html directory:

<APPLET CODEBASE = "." CODE = "Clock2.class" WIDTH = 170 HEIGHT = 150>
Your browser is completely ignoring the APPLET tag!
</applet>