#!/bin/sh

# How to start java on your machine?
JAVA="java"

# Parameters
# ***********************

# Please replace with the HCI directory:
MM_HOME="${MMARTHOME}"

# The local MMart directory:
MM_LOCAL_DIR="${HOME}/.mmart"


# libraries
# *********

          MMJAR="${MM_HOME}/mmart.jar"
        LIBPATH="${MM_HOME}/lib"
        HOTDRAW="${LIBPATH}/hotdraw.jar:${LIBPATH}/GraphView.jar"
          LOG4J="${LIBPATH}/log4j.jar"
           JDBC="${LIBPATH}/classes12.zip"
           HELP="${LIBPATH}/jh.jar"


CLASSPATH="${MM_HOME}:${MMJAR}:${HOTDRAW}:${LOG4J}:${JDBC}:${HELP}"
export CLASSPATH


# running the application
# ***********************

cd "${MM_HOME}"

${JAVA} -DMM_HOME="${MM_HOME}" -DMM_LOCAL="${MM_LOCAL_DIR}" LaunchMiningMart
