next up previous contents
Next: Installing and compiling the Up: Installation and Configuration Previous: Installing the compiled version   Contents

Installing and compiling the source version using the make build system (on UNIX platforms)

  1. Unzip JavaGroups.zip or untar JavaGroups.tar This will create a directory, e.g. JavaGroups-2.0.
  2. Add the classes subdirectory of this directory to your CLASSPATH, e.g.: export CLASSPATH=$CLASSPATH:/home/<user>/JavaGroups-2.0/classes. (JavaGroups would be in /home/user/JavaGroups-2.0). Note that it is probably advisable to add a period (.:) to your CLASSPATH so that class files in the current directory are found correctly (e.g. for the demo programs).
  3. Compiling the class files
    1. You need to have make and Perl available on your system.
    2. CD to the build directory
    3. Type make configure ; make. The first time it is run, this script will look for IBM's Jikes compiler2.1, and only if not found look for javac. It will then ask you what compiler to use, what flags to pass to the compiler, and ask you to confirm what directory JavaGroups lives in. Finally, it creates two files: Makefile.include and configure.cache. The latter file is used the next time the Perl script is run.
    4. The class files will be created in the classes directory
    5. If you want to create javagroups.jar, type make javagroups.jar. This will create the JAR files in the dist directory.
    6. To generate the JAVADOC documentation type make documentation. This creates the documentation in the doc/javadoc directory


next up previous contents
Next: Installing and compiling the Up: Installation and Configuration Previous: Installing the compiled version   Contents
Bela Ban 2002-11-16