next up previous contents
Next: Running FM Up: Installation Notes Previous: Unpacking FM

Setting up FM

Next set the PATH and CLASSPATH environment variables as follows:

setenv CLASSPATH ${CLASSPATH}:${FM0.9_HOME}:${FM0.9_HOME}/FM0.9beta.jar:
                 ${FM0.9_HOME}/trace:${FM0.9_HOME}/agentlib

setenv PATH ${PATH}:$FM0.9_HOME/scripts

These are the minimum settings required to get FM  ready to start.

If you intend to connect a MySQL database to FM , then the following settings must be applied instead:

setenv CLASSPATH ${CLASSPATH}:${FM0.9_HOME}:${FM0.9_HOME}/FM0.9beta.jar:
                 ${FM0.9_HOME}/trace:${FM0.9_HOME}/agentlib:
                 ${JDBC_MYSQL_HOME}

setenv  PATH ${PATH}:$FM0.9_HOME/scripts:${MYSQL_HOME}:${MYSQL_HOME}/bin
where MYSQL_HOME stands for the installation directory of MySQL and JDBC_MYSQL_HOME stands for the installation directory of the MySQL JDBC driver.

Moreover, notice that if you intend to use the FM  database option of the main menu in order to browse the database contents, then you must have previously installed XMySQL, and then set the environment variables as follows:

setenv CLASSPATH ${CLASSPATH}:${FM0.9_HOME}:${FM0.9_HOME}/FM0.9beta.jar:
                 ${FM0.9_HOME}/trace:${FM0.9_HOME}/agentlib:
                 ${JDBC_MYSQL_HOME}

setenv  PATH ${PATH}:$FM0.9_HOME/scripts:${MYSQL_HOME}:${MYSQL_HOME}/bin:
             ${XMYSQL_HOME}
Finally, and very importantly, you should execute
	cd $FM0.9_HOME (goes to the FM installation directory)
	java setup



Juan Antonio Rodriguez
Fri Oct 16 15:39:57 MET DST 1998