Ptolemy II 4.0.1 Source Downloads

Downloads

Quick Instructions

If you want to rebuild from source, download:

Ptolemy II 4.0.1 source only (26.9 Mb)

Then follow the instructions.

All downloads and resources

Below are the downloads and resources available from this page
  • Windows Java Runtime Environment (JRE):
    j2re-1_4_2_04-windows-i586-p.exe All Languages (15.3 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.2/.
    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 4.0.1 source only (26.9 Mb).
  • Precompiled Ptolemy II 4.0.1, includes sources (44.5 Mb). (Not recommended, use the source only download above)
  • Instructions

    1. Install Java, if necessary

    All versions of Ptolemy II 4.0.1 require Java 1.4 or later. Java 1.4.2_04 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_2_04-windows-i586-p.exe All Languages (15.3 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.2/.
    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 ptII4.0.1.src.tar.gz (26.9 Mb)
    2. Follow the Installation Instructions

    Precompiled download

    If you do not want to recompile from source, then you should download using one of the other methods listed at the top of this page.

    One alternative is to download the precompiled sources and start by hand. The precompiled sources do not require Cygwin or make.
    Using the precompiled sources and running by hand is not really supported, please use the standard tar file and configure method.

    1. Install the Windows Java Runtime Environment (JRE):
      Download
      j2re-1_4_2_04-windows-i586-p.exe All Languages (15.3 Mb)
      The JRE is needed to run Ptolemy II, but does not include the javac compiler, so the JRE is not sufficient to recompile Ptolemy II from sources.
    2. Download and uncompress Precompiled Ptolemy II 4.0.1, includes sources (44.5 Mb).
    3. Follow the How do I start Vergil by hand? instructions

    Diva

    As of Ptolemy II 4.0.1, we include the sources of a subset of Diva.

    It is not necessary to download the Diva source files to build or run Ptolemy II.

    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