Basic HTML version of Foils prepared 16 May 98

Foil 15 Java Applets - II

From Introduction to Java to be used in (Scientific) Computing CEWES Java Tutorial -- Spring Semester 98. by Geoffrey C. Fox, Nancy McCracken


Two ways to run an applet:
  • If you have JDK on one's machine, one can run the applet with appletviewer
  • appletviewer MyApplet.html
  • Alternatively, run Netscape 2.0/3.0/4.0 or Internet Explorer essentially anywhere,
  • point the browser at MyApplet.html, and applet is downloaded from the web server 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.
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 Sun Nov 29 1998