For example, if your JDK is set to /opt/java/j2sdk1.4.2, set your JAVA_HOME to this path.
For csh, enter
source $SOAM_HOME/conf/cshrc.soam
For bash, enter
. $SOAM_HOME/conf/profile.soam
Compile with the Makefile:
make
Compile with the Ant build file:
ant