Putting your animation on the Internet

  1. cd to the directory with the source of your animation (where you usually go when you submit)

  2. Type: cd ../bin

  3. Type: cp *.class ~/.WWW

  4. Type: cd ~/.WWW

  5. Type: cp /classes/cs1121/common/Animator.jar Animator.jar

  6. Create a text file called "anim.html" in the current directory with the following inside:

    where whatever is the name of the main class of your animation (e.g., HW1).

  7. Type: chmod o+r Animator.jar *.class anim.html

You now will have a web page that contains your animation. To see it, get into any web browser (on any machine, even your Mom's or Dad's in Detroit) and enter the web page address:

where userid is your login name (i.e., email address without the @mtu.edu).