DOWNLOADS:

1-- JAVA

http://java.sun.com/j2se/1.4.2/download.html
Windows Installation  (info)  (Windows 2003 note) - SDK Installation

FAQ of download: http://servlet.java.sun.com/help/download

After you install, from 
control panel->system->advanced->environment variables, 
append/create the following system variables with the following values.

Append PATH ==> [your Java directory]\bin (eg: "c:\j2sdk1.4.2\bin")
Set JAVA_HOME ===> [your Java directory] (e.g. "c:\j2sdk1.4.2")

Save the following piece of code into file hello.java

public class hello{
 public static void main(String[] args){
   System.out.println("Hello world!");  
 }
}

Try it with the following commands:
javac hello.java
java hello

2-- CYGWIN (For Windows users)

Please follow the link path below to reach to cygwingDevel.exe (34.6 Mb).

* From http://ptolemy.eecs.berkeley.edu/ptolemyII/, click Ptolemy II 3.0-beta.

* Click "Source Download" at the bottom left of the summary table.

* Click "Cygwin toolkit" at the 5th item of downloads section.

* Download "cygwinDevel.exe (34.6 Mb)" and follow the instructions on this page.
  Please make sure that you  set "Text File Type" to "DOS" and install all modules.
  
3-- ANT

Please update Apcahe ANT build tool version 1.5.4 at http://ant.apache.org/.

Installing Ant
The binary distribution of Ant consists of the following directory layout: 

  ant
   +--- bin  // contains launcher scripts
   |
   +--- lib  // contains Ant jars plus necessary dependencies
   |
   +--- docs // contains documentation
   |      +--- ant2    // a brief description of ant2 requirements
   |      |
   |      +--- images  // various logos for html documentation
   |      |
   |      +--- manual  // Ant documentation (a must read ;-)
   |
   +--- etc // contains xsl goodies to:
            //   - create an enhanced report from xml output of various tasks.
            //   - migrate your build files and get rid of 'deprecated' warning
            //   - ... and more ;-)

Only the bin and lib directories are required to run Ant. To install Ant, choose a directory and copy the distribution file there. This directory will be known as ANT_HOME. 

Setup
Before you can run ant there is some additional set up you will need to do:

Add the bin directory to your path. 
Set the ANT_HOME environment variable to the directory where you installed Ant. On some operating systems the ant wrapper scripts can guess ANT_HOME (Unix dialects and Windows NT/2000) - but it is better to not rely on this behavior. 
Optionally, set the JAVA_HOME environment variable (see the Advanced section below). This should be set to the directory where your JDK is installed. 
Note: Do not install Ant's ant.jar file into the lib/ext directory of the JDK/JRE. Ant is an application, whilst the extension directory is intended for JDK extensions. In particular there are security restrictions on the classes which may be loaded by an extension.

4--PTOLEMY II 3.0

Please follow the link path below to reach to "Ptolemy II 3.0 source only (15.4 Mb)"

* From http://ptolemy.eecs.berkeley.edu/ptolemyII/, click "Ptolemy II 3.0-beta".

* Click "Source Download" at the bottom left of the summary table.
	-- To install the precompiled src copy, download "Precompiled Ptolemy II 3.0, includes sources (47 Mb)". (Not recommended, use the source only download) 

        -- To download the "Ptolemy II 3.0 source only (15.4 Mb)" [the 6th item at the downloads section] and make it yourself, follow the instructions below.

Installation instructions:

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ If using WINDOWS: All steps are executed under cygwin +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++

* Set the PTII environment variable to the top level Ptolemy directory, 
that is the directory above this directory 
bash 
PTII=c:\\Program\ Files\\Ptolemy\\Ptolemy\ II\ 2.0 
export PTII

csh 
setenv PTII /users/yourname/ptII

* Run configure 
cd "$PTII"
rm -f config.*
./configure

* Ptolemy is shipped with .class and .jar files, but the $PTII/bin/scripts 
needs to be updated. The safest thing to do is to run make fast install on 
the entire tree: 
make fast install

* Start vergil 
$PTII/bin/vergil



AFTER ALL THESE STEPS ARE READY:
--------------------------------

Please create three env.vars. for JAVA_HOME, KEPLER, and PTII if you don't already have them.
KEPLER should be set to where you have the kepler dir.
And say "ant run-spa" under kepler dir.
