#stringOne="foo"
#stringTwo="anythingButBar"
#stringThree="$stringOne and $stringTwo"

#echo $1
start=1
if [[ $1 == -X* ]];
then 
para1=$1
start=2
fi
if [[ $2 == -X* ]];
then
para1="$para1 $2"
start=3
#echo $para1
fi

if [[ $3 == -X* ]];
then
para1="$para1 $3"
start=4
fi

for (( i=$start; i<=$#; i++))
do
para2+="${!i} "
done
#echo $para2

BASEDIR=$(cd "$(dirname "$0")"; pwd)
HOME_DIR="$(dirname "$BASEDIR")"
LD_LIBRARY_PATH=${HOME_DIR}/lib
LD_LIBRARY_PATH=${HOME_DIR}/cudd/cudd/.libs:$LD_LIBRARY_PATH
source ${HOME_DIR}/include/scripts/parameters.sh
#JAVA_DIR=/home/qyuan/jdk1.8.0_45
export LD_LIBRARY_PATH

$JAVAC_DIR/java $para1 -Djava.library.path=$HOME_DIR/lib -classpath $HOME_DIR/assa.jar userInterface/Assa $para2
