Basic HTML version of Foils prepared Sept 21 1998

Foil 14 Two ways to run a Java applet

From Introduction to Java Tutorial Aimed at Scientific Users NAVO Tutorial -- Sept 23 1998. by Geoffrey C. Fox


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 Sun Apr 11 1999