Note that under Java 1.4.0_01, viewing local applets that have spaces in the path name may fail if the applet tries to download a data file. The workaround is to place the Ptplot distribution in a directory that does not have space in the pathname. For details, see the Troubleshooting Guide.
Ptplot 5.2 requires Java 1.2 or later. Java 1.3 is preferred.
To run Ptplot, the Java runtime environment (JRE) is sufficient. To run the applets in a browser, the Java plug-in is required. The JRE is bundled with the plug-in, so downloading the plug-in is sufficient. To extend Ptplot with your own Java code, the Java development kit (JDK) or an equivalent Java development environment is required. The JDK includes a Java compiler.
One way to determine what version of Java (if any) is installed is to run our Java Version Applet , which uses the Java 1.3 plug-in. Another way is to run the command below to see whether you have Java installed, and whether it is the proper version:
java -versionIf the command cannot be found, or the version that is printed is less than 1.3, you should install the plug-in, JRE 1.3, or JDK 1.3
Downloads:
j2re-1_3_0_02-win.exe
(5.1Mb)
http://java.sun.com/j2se/1.3/
ptplot5.2.tar.gz
(1.91Mb)
d:\tmp
so that d:\tmp\ptplot5.2
was created.
Start
-> Run
-> cmd
and type
java -classpath d:/tmp/ptplot5.2/ptolemy/plot/plotapplication.jar ptolemy.p lot.plotml.EditablePlotMLApplicationThere are also simple DOS batch files that will start up the Plotter. They depend on the
PTII
environment variable
being set. You can set that variable and run the batch files with:
C:\>set PTII=d:\tmp\ptplot5.2 C:\>echo %PTII% d:\tmp\ptplot5.2 C:\>%PTII%\bin\ptplot
If you are not planning on extending Ptplot, and you downloaded using the applet or installer, then you can run Ptplot via Start->Programs ->Ptolemy->Ptplot 5.2
To extend Ptplot under Windows, you will also need the Cygwin toolkit, and then follow the Installation Instructions to set up your build environment.
ptplot@ptolemy.eecs.berkeley.edu
ptplot5.2.tar.gz
(1.91Mb)