Compiling Java code for PCA0Plotter This new version of PCA0Plotter.java has a single .java file: PCA0Plotter.java. This must be compiled to create the 3 .class files: PCA0Plotter.class, CounterCanvas2.class, & PulseCanvas.class and a .jar file: PCA0Plotter.jar. The .class and .jar files must be in the same folder as the 2 .html files: LitecPCA0Plotter.html & PlotterApplet.html. The referencing web page should link to LitecPCA0Plotter.html, which links to PlotterApplet.html and PlotterApplet.html links to PCA0Plotter.jar & PCA0Plotter.class. Compiling: (Works a couple of different ways with the original (separate) files and combined PCA0Plotter.java file) (1) On Windows, under Cygwin, this worked: gcj -C *.java jar cf LitecGrapher.jar *.class Requires the following settings and version check: which gcj /usr/bin/gcj gcj --version gcj (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. NOTE: version 4.3.4 does not seem to work. Try uninstalling gcc4-java and installing gcc-java 3.4.4-999 in Cygwin Setup. echo $CLASSPATH .;C:\Program Files\Java\jre6\lib\ext\QTJava.zip (2) Or, you can log into your RCS account on a Unix machine (ssh into rcs-sun.rpi.edu using SecureCRT), and do this: /usr/java/bin/javac *.java (or /usr/java/bin/javac -deprecation *.java to see the deprecation warning) /usr/java/bin/jar cf LitecGrapher.jar *.class To launch from PCA0Plotter.jar as an application, you also need a manifest file which tells it which class has the main() function. Put the attached manifest file in the same directory as your other files, and change the jar creation command to this: jar cfm LitecGrapher.jar MANIFEST.MF *.class The purpose of .jar files is to bundle all the .class files up into one file for distribution. I think the reason the LitecGraph.class file worked for you was only because you happened to have the other .class files in the same directory. Alternately, you should be able to do everything on your Mac as well. gcj and javac both exist for Mac, but you may need to install them. They may be included in Developer Tools, not sure though. Xcode can also do Java, although I've never tried that out.