Diva
Home
About
Demos
Downloads
Packages
Forum
Mail lists

Installation

Installing and compiling Diva is fairly easy if you're used to working with Java. Diva 0.2 compiles with JDK1.2 (final).

Installing and compiling the source release

  1. Download the gzipped tar file or the zip file. Change to a directory that you want to place Diva in, and either
      gzcat diva-0.2.tar.gz | tar -xf -
    
    or
      unzip -a diva-0.2.zip
    
    This will create a directory diva in the current directory. On Windows, you can also use a utility such as WinZip.
  2. Change to diva/mk and copy one of the files vars.OSTYPE.mk to vars.include.mk, where OSTYPE is the value of the environment variable with that name. Currently, there are three: one for Solaris (solaris), one for Cygwin bash on Windows NT (cygwin32), and one for an anonymous port of tcsh (WindowsNT). (Feel free to send more in.)
  3. Edit the new vars.include.mk so that the JAVAHOME variable points to the root of your JDK1.2 installation.
  4. Copy the file local.default.mk to local.mk. If you have any of the packages listed in that file (which are not distributed with the JDK or with Diva), edit the file appropriately.
  5. In the diva directory, type make packages.
  6. Go to the demo page to run the demos.

Note 1: If you are a known Diva developer or user and Tcl is set up on your installation, you can automate the configuration process in steps 2, 3, and 4 by changing to the Diva root directory and running bin/divaConfigure.

Note 2: On Windows NT, we are using Cygwin make. If you have another make, the above may not work. You should also be able to compile enough of the tree by hand. Change to the diva/canvas/demo directory and enter something like

  c:/jdk1.2/bin/javac -classpath ../../.. CanvasDemo.java

Installing and running with the JAR file

  1. Download the jar file by right-clicking on the link.
  2. Go to the demo page to run the demos.
Send feedback to cxh at eecs berkeley edu
Contact 
©2002-2018 U.C. Regents