Ptolemy II 3.0.2 Source Downloads

Downloads

Below are the downloads and resources available from this page.
  • Windows Java Runtime Environment (JRE):
    j2re-1_4_1_02-windows-i586.exe U.S. English only (8.3 Mb)
    j2re-1_4_1_02-windows-i586-i.exe All Languages (10.2 Mb)
    The JRE is needed to run Ptolemy II, but is not sufficient to recompile Ptolemy II from sources.
  • Windows Java 3D
    java3d-1_2_1_04-win32-directx-rt.exe
    The Java 3D runtime is necessary to run the GR domain demos, but is not sufficient to recompile the GR domain from sources.
  • Windows and other platforms Java Development Kit (JDK):
    http://java.sun.com/j2se/1.4.1/.
    The JDK is needed to recompile Ptolemy II. The JDK includes the JRE.
    If you are recompiling Ptolemy II from source, then download the JDK.
  • Java 3D for other platforms and for recompiling:
    http://java.sun.com/products/java-media/3D/download.html
    The Java 3D SDK is necessary for recompiling the GR domain. The Java 3D SDK includes the Java 3D runtime.
    The domains other than GR II will recompile without the Java 3D SDK.
  • Information about installing the Cygwin toolkit - Cygwin is needed to recompile Ptolemy II.
  • Ptolemy II 3.0.2 source only (20.4 Mb).
  • Diva source files: diva-22Apr03.tar.gz (1.8 Mb), diva-22Apr03.zip (2.5Mb) (It is not necessary to download the Diva source files to build Ptolemy II, Ptolemy II includes diva.jar. Download the diva .tar.gz or .zip if you are interested in extending the Ptolemy II GUI itself)
  • Instructions

    1. Install Java, if necessary

    All versions of Ptolemy II 3.0.2 require Java 1.4 or later. Java 1.4.1_02 is preferred.
    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 is sufficient.
    To recompile Ptolemy II from source or 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.

    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

    You can determine if the javac compiler is in your path with

    java -help
    
    If the command is not found, and you want to rebuild from sources, then you would need to install the JDK.

    Java Downloads

  • Windows Java Runtime Environment (JRE):
    j2re-1_4_1_02-windows-i586.exe U.S. English only (8.3 Mb)
    j2re-1_4_1_02-windows-i586-i.exe All Languages (10.2 Mb)
    The JRE is needed to run Ptolemy II, but is not sufficient to recompile Ptolemy II from sources
  • Windows and other platforms Java Development Kit (JDK):
    http://java.sun.com/j2se/1.4/.
    The JDK is needed to recompile Ptolemy II. The JDK includes the JRE.
    If you are recompiling Ptolemy II from source, then download the JDK.
  • 2. Install Cygwin, if necessary

    Ptolemy II uses the standard tar/configure/make method. To run configure and make, you must have Unix tools installed on your machine. Under Windows, these tools are available as part of the Cygwin toolkit

    1. Follow the instructions on the Ptolemy II Cygwin Installation page

    3. Download and install Ptolemy II

    Now that the Java Development Kit and Cygwin are installed:
    1. Download ptII3.0.2.src.tar.gz (20.4 Mb)
    2. Follow the Installation Instructions

    Diva

    It is not necessary to download the Diva source files to build Ptolemy II, Ptolemy II includes diva.jar. Download the diva .tar.gz or .zip if you are interested in extending the Ptolemy II GUI itself.
    1. Download either diva-22Apr03.tar.gz (1.8 Mb), or diva-22Apr03.zip (2.5Mb)
    2. Change to the Ptolemy II directory and uncompress them. For example:
      cd $PTII
      tar -zxf /tmp/diva-22Apr03.tar.gz
      
    3. Follow the instructions in $PTII/diva/README.txt

    Places to go

  • The "Using Vergil" chapter from the Ptolemy II Design Document
  • Limitations
  • This page covers installing Ptolemy II via a by downloading source files, running configure and recompiling.

    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