This is not the most recent version of Ptolemy II. The most recent version can be found at
Downloadsor or or
Note that virus scanners might report that the Ptolemy II 5.0 download is infected with the Bat/sdwn3 virus. This is a false positive, the download does not have this virus.
The download includes a batch file is part of the set of scripts that we use to run the display case at the Chess Lab, see
The batch file contains a command that reboots the local machine by calling c:Windows32/System32/shutdown. We run that script every night on the display case machine.
The script is not run by any part of Ptolemy, the user would need to invoke that script by hand from a shell.
Thus, if your virus scanner indicates the download has the Bat/sdwn3 virus, you may ignore the warning and proceed with the download.
Ptolemy II 5.0.1 does not trigger this warning.
Under Windows, there are two installers, one that includes a private copy of the Java Runtime Environment (JRE) and one that does not.
The installer applet is merely a wrapper for these two installers.
Download the installer with the private copy of the JRE if you do not want to run the Ptolemy II demo applets and want to have a stable self contained Ptolemy II installation that does not rely on other versions of the JRE that might be on your machine. Note that after installing with Ptolemy II with the private JRE you may later download another JRE later to view the applets. Note further that the private copy of the JRE includes Java packages that are used by various domains and actors.
Most Windows users will use the installer with a private copy of the JRE
Download the installer without the private copy of the JRE if you have either the JRE or the Java Development Kit (JDK) already installed.
JRE vs. JDK
To run Ptolemy II, 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 also installs the JRE.
To extend Ptolemy II with your own Java code, the Java development kit (JDK) or an equivalent Java development environment is required. The JDK includes a Java compiler.
Which Version of Java?Ptolemy II requires Java 1.4 or later Java 1.4.2_05 is preferred.
There are various problems with Java 1.5.0.
Ptolemy II has been compiled and run under IBM JDK 1.4.2_01-b06. There are the following limitations under IBM JDK 1.4.2:
One way to determine what version of Java (if any) is installed is to run our Java Version Applet , which uses the Java 1.4 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.4, you should install the plug-in, JRE 1.4, or JDK 1.4 or use download the installer that includes a private copy of the JRE
Java Installers2. Install Ptolemy II
Where to install?Note that under Java 1.4.1_02, 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 Ptolemy II installation in a directory that does not have space in the pathname. For details, see the Troubleshooting Guide.
In addition, the Copernicus code generator has a hard time with spaces in the path name because of limitations in parameter passing in Soot, a package that Copernicus uses.
Ptolemy II InstallersChoose one of the Windows installers below or or
This page covers installing Ptolemy II via a traditional Windows Installer
Other formats include: