Ptolemy II 6.0.2 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/.

Note:
Ptolemy II 6.0.2 will not compile with Java 1.6, you must use Java 1.4 or 1.5, see 07-Apr-2008 Re: Error installing Ptolemy on ubuntu.

Downloads

  • Download the Ptolemy II 121.9 Mb Windows executable file that includes a private copy of the Java Runtime Environment 1.5.0_11 and some of the support packages such as Java 3D Most Windows users will select this installer
  • or
  • ptII 6.0.2 note: The Zipped Windows installer is not yet available
    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
  • ptII 6.0.2 note: The Windows installer without the JRE is not yet available
    Download the Ptolemy II 59.7 Mb Windows executable file that does not include Java
  • 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.
    ptII 6.0.2 note: The Windows installer without the JRE is not yet available

    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.5.0_11 is preferred.

    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): http://java.sun.com/javase/downloads/index.jsp
  • Full JDK, or other Platforms: http://java.sun.com/j2se/1.5.0/
  • 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
  • Download the Ptolemy II 106.6 Mb Windows executable file that includes a private copy of the Java Runtime Environment 1.5.0_11 and some of the support packages such as Java 3D Most Windows users will select this installer
  • or
  • ptII 6.0.2 note: The Zipped Windows installer is not yet available
    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
  • 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