Basic HTML version of Foils prepared 7 Sept 1997

Foil 15 Java Applets - II

From Introduction to Java to be used in (Scientific) Computing Basic Simulation Track for Computational Science CPS615 -- Fall Semester 97. by Geoffrey C. Fox, Nancy McCracken


1 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.
2 This way we can compile on places with JDK installed but run almost anywhere!

in Table To:


© 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