
Install JDK1.3 or higher version. To compile and run the JAI applications, 
download and install the JAI 1.0.2 version. Some of the book code doesn't run with JAI 1.1. 


Compiling the source code from the book
---------------------------------------
If you use Windows, you can compile the source code from Chapters 5 through 14 by running
the script compile.bat. If you use Unix, modify this script to suit your shell. 

If you want to do it chapter-by-chapter, compile the common source code in the directories
first. These directories are: util, jaiutil, and events.

You don't need to compile the beans directory. These beans are available in the jar files.

The beans.zip contais four jar files: 
1. imloader.jar
   Contains the MultiImageLoader bean
2. planarimloader.jar
   Contains the PlanarImageLoader bean
3. filwbrowser.jar
   Contains the FileBrowser and FileSelector beans. The FileBrowser bean allows multiple selection, 
   where as FileSelector bean allows single selection.
4. plotterbeans.jar
   Contains the MultiXYPlot, Histogram, and PieChart beans.
   
   
Running the applications
------------------------

1. Set the classpath
    
   See setenv.bat for an example.
   
2. Run the applications using the java command.
   Most of the applications are in the app package.
   
   Example: java app.ImageManip2D
   
   Some of the applications require an argument.
   
   Example: java app.QuantAnalyzer c:\images\di1.jpeg
   
   To run the RMI server and clients, follow the steps in the book.