Context-Aware Mobile Agents
CAMA is made of the two following major parts: the coordination server and client adaptors. The coordination server should run on any POSIX OS (tested on Linux FC4, FreeBSD 4.9 and Solaris 10 x86). The adaptor requires a JDK 1.2 compatible JVM and about 70Kb of memory.

Step 1. Download CAMA server and adaptor sources using the link on the left side. The file should be called cama.*.*.*.tar.gz for the server and ?cama.*.*.*.tar.gz for an adaptor (e.g. jcama for java version).

Step 2. Unpack in a suitable folder:
tar xvfz cama.*.*.*.tar.gz
tar xvfz ?cama.*.*.*.tar.gz
This creates folders cama.*.*.* and ?cama.*.*.*

Step 3. Build the server executable:
make all
make clean
This should create camad executable.

Step 4. Start the server:
Typical server startup in a daemon mode is and with the default port number 1234 is:
The server can be started with a different port number, in console and verbose modes and also with the remote debugging options. The command ./camad -p55 -m80 -c -D starts server on port 55 with remote debug on http port 80 in console and debug modes.

Step 5. Test installation:
Try running one of the sample applications supplied with adaptor(s). The following instructions are for the Java adaptor:

Add jcama.*.*.*/dist/jcama.jar to the CLASSPATH environment variable:
C shell: setenv CLASSPATH $CLASSPATH:/dir/jcama.*.*.*/dist/jcama.jar
bash: export CLASSPATH=$CLASSPATH:/dir/jcama.*.*.*/dist/jcama.jar
where dir is the path to the jcama.*.*.* folder.

Now you should be able to compile examples in the jcama.*.*.*/test folder:
cd jcama.*.*.*/test; javac *.java

Agents typically do not need any options to start. However to get an operating application you may need to start a number of agents. For example chatG applications requires two or more copies of the same agent running on the location.