Basic HTML version of Foils prepared Oct 1 98

Foil 9 Two ways to run a Java applet

From Java Tutorial 98- 1: Introduction to Java Language and Applets CPS606 -- Fall Semester. by Geoffrey C. Fox, Nancy McCracken


Run Netscape 2.0 or later or Internet Explorer essentially anywhere, point the browser at MyApplet.html, and applet is downloaded from the webserver and run by Java interpreter built into the browser. This requires that the .html and .class files are located in the document space of the web server.
Or, primarily for debugging purposes, if you have JDK on your machine, you can run the applet with a program called the appletviewer:
  • appletviewer MyApplet.html
This way we can compile on places with JDK installed but run almost anywhere!



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Nov 28 1998