Set the PATH environment variable to include the directory where you installed the Ant bin directory: export PATH=${ANT_HOME}/bin:${JAVA_HOME}/bin:${PATH}
Set the ANT_HOME environment variable to the directory where you installed Ant: export ANT_HOME=${ant_dir}
Set the ANT_OPTS environment variable to the directory where you installed Ant: export ANT_OPTS="-Xmx256M"
Set the JAVA_HOME environment variable to the directory where you installed the J2SE SDK application: export JAVA_HOME=${java_dir}
Set the JHHOME environment variable to the directory where you installed the JavaHelp application: export JHHOME=${javahelp_dir}
export CLASSPATH=${ditaot_dir}/lib:${ditaot_dir}/lib/dost.jar:${ditaot_dir}/lib/resolver.jar
export CLASSPATH=${fop_dir}/build/fop.jar:${fop_dir}/lib/batik.jar:${fop_dir}/lib/avalon-framework-cvs-20020806.jar:${CLASSPATH}
export CLASSPATH=${CLASSPATH}:${saxon_dir}/saxon.jar
export ANT_OPTS=${ANT_OPTS} -Djavax.xml.transform.TransformerFactory=com.icl.saxon.TransformerFactoryImpl
export CLASSPATH=${CLASSPATH}:${xalan_dir}/bin