Ptolemy II 5.0.1 Windows Installer

Note:
This is not the most recent version of Ptolemy II. The most recent version can be found at http://ptolemy.eecs.berkeley.edu/ptolemyII/ptIIlatest/.

Downloads

  • Run the Ptolemy II installer as an applet.
    (The applet installer includes links to non-windows installers as well)
  • or
  • Download the Ptolemy II 86.5 Mb Windows executable file that includes a private copy of the Java Runtime Environment and some of the support packages such as Java 3D Most Windows users will select this installer
  • or
  • Download the Ptolemy II 86.3 Mb Zipped Windows executable file that includes a private copy of the Java Runtime Environment and some of the support packages such as Java 3D
    This version is useful for websites that have blocks on downloading .exe files
  • or
  • Install Java
  • Download the Ptolemy II 59.7 Mb Windows executable file that does not include Java
  • Bat/sdwn3 Virus Warning

    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 http://chess.eecs.berkeley.edu/projects/ITR/2004/superb.htm

    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.

    Documentation

  • The "Using Vergil" chapter from the Ptolemy II Design Document
  • Detailed Ptolemy II Installation instructions.
  • Limitations
  • Installation Instructions

    1. Install Java, if necessary

    Which Installer?

    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.

  • Java 3D, which is required to run the Graphical (GR) domain demos.
    The version of Java 3D included in the JRE requires that DirectX is installed on your machine.
    If, when you run the GR domain demos, you get a message about d3d8.dll missing, then you probably need to install DirectX.
    DirectX can be downloaded from http://www.microsoft.com/downloads/search.aspx?displaylang=en&categoryid=2
  • The Java Advanced Imaging Interface.
  • The Java Serial port communication interface.
  • The Java Media Framework.
  • The Joystick Interface.
  • The X10 Interface.

  • 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.
  • Web Start does not work
  • Caltrop does not work because of XML parser issues
  • 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:

  • The Copernicus code generator does not work.
  • Caltrop does not work.
  • The IBM JDK seems to return directory contents in a different order than the Sun JDK. Thus actor.lib.io.DirectoryListing might return elements in a different order.
  • 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 -version
    
    If 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 Installers

  • Windows Java Runtime Environment (JRE):
    j2re-1_4_2_08-windows-i586-p.exe All Languages (15.8 Mb)
  • Full JDK, or other Platforms: http://java.sun.com/j2se/1.4.2/
  • The Java 3D runtime is necessary to run the GR domain. Java 3D can be found at http://java.sun.com/products/java-media/3D/download.html
    The Windows DirectX Java 3D installer requires that DirectX is installed on your machine.
    If, when you run the GR domain demos, you get a message about d3d8.dll missing, then you probably need to install DirectX.
    DirectX can be downloaded from http://www.microsoft.com/downloads/search.aspx?displaylang=en&categoryid=2
  • 2. 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 Installers

    Choose one of the Windows installers below
  • Run the installer as an applet. This applet, built with a commercial product from Zero G Inc., will install Ptolemy II, from Berkeley, on your machine.
    If you choose to install via the applet, a dialog will pop up asking if you will grant permission to run software from Zero G Software or University of California at Berkeley. To continue with the installation process, click on the 'Grant' button.
  • or
  • Download the Ptolemy II 86.5 Mb Windows executable file that includes a private copy of the Java Runtime Environment and some of the support packages such as Java 3D
  • or
  • Download the Ptolemy II 58.9 Mb Windows executable file that does not include Java
  • This page covers installing Ptolemy II via a traditional Windows Installer

    Other formats include:

  • Accessing Ptolemy II demonstration applets via the web
  • Installing Ptolemy II via the web using Web Start
  • Installing Ptolemy II by downloading source and recompiling