#!/bin/bash
JAVA_HOME="/opt/j2sdk1.4.2_07/"
#JAVA_JRE="/opt/j2sdkdk1.4.2_074.2_07/"
#CLASSPATH=".:/usr/local/java/j2sdk/lib/tools.jar:/usr/local/jre/lib/rt.jar"
#JBOSS_HOME="/usr/local/jboss-4.0.2"
#MYSQL_HOME="/usr/local/mysql"
#PGSQL_HOME="/usr/local/pgsql"

################ CONFIGURANDO JAVA_HOME ###########################

if ! echo ${PATH} | grep -q JAVA_HOME/bin:${PATH} ; then
	export PATH=$JAVA_HOME/bin:${PATH}
	export CLASSPATH=.:/usr/local/jre/lib/rt.jar
fi

################ CONFIGURANDO JAVA_JRE ###########################
#
#if ! echo ${PATH} | grep -q JAVA_JRE/bin:${PATH} ; then
#	export PATH=$JAVA_JRE/bin:${PATH}
#fi
#
################ CONFIGURANDO JBOSS_HOME ###########################
#
#if ! echo ${PATH} | grep -q JBOSS_HOME/bin:${PATH} ; then
#	export PATH=$JBOSS_HOME/bin:${PATH}
#fi
#
################ CONFIGURANDO MYSQL_HOME ###########################
#
#if ! echo ${PATH} | grep -q MYSQL_HOME/bin:${PATH} ; then
#	export PATH=$MYSQL_HOME/bin:${PATH}
#fi

################ CONFIGURANDO PGSQL_HOME ###########################
#
#if ! echo ${PATH} | grep -q PGSQL_HOME/bin:${PATH} ; then
#	export PATH=$PGSQL_HOME/bin:${PATH}
#fi
