Ptolemy II 2.0.1 Source Downloads

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
  • Downloads

    Below are the downloads and resources available from this page.
  • Windows Java Runtime Environment (JRE):
    j2re-1_3_1_04-windows-i586.exe U.S. English only (5.4Mb)
    j2re-1_3_1_04-windows-i586-i.exe All Languages (9.1Mb)
    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.
    Note that Java 3D 1.3 will not work with the ViewScreen actor, see the limitations page for a workaround.
  • Windows and other platforms Java Development Kit (JDK):
    http://java.sun.com/j2se/1.3/.
    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 2.0.1 source only (13.8Mb).
  • Precompiled Ptolemy II 2.0.1, includes sources (41.5Mb).
  • Instructions

    1. Install Java, if necessary

    All versions of Ptolemy II 2.0.1 require Java 1.3 or later. Java 1.3 is preferred, the code generator will not work with JDK 1.4
    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.3 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.3, you should install the plug-in, JRE 1.3, or JDK 1.3

    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_3_1_04-windows-i586.exe U.S. English only (5.4Mb)
    j2re-1_3_1_04-windows-i586-i.exe All Languages (9.1Mb)
    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.3/.
    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 ptII2.0.1.src.tar.gz (13.8Mb)
    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_3_1_04-windows-i586.exe U.S. English only (5.4Mb)
      or
      j2re-1_3_1_04-windows-i586-i.exe All Languages (9.1Mb)
      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 2.0.1, includes sources (41.5Mb).
    3. Follow the How do I start Vergil by hand? instructions

    Places to go

  • The "Using Vergil" chapter from the Ptolemy II Design Document
  • Limitations