设置Linux的环境变量:
JAVA_HOME=/usr/java/j2sdk1.4.2_02
JBOSS_HOME=/usr/jboss-3.2.7
CLASSPATH=/usr/java/j2sdk1.4.2_02/jre/lib/ext/:$CLASSPATH
JAVA_HOME=/usr/java/j2sdk1.4.2_02
JBOSS_HOME=/usr/jboss-3.2.7
CLASSPATH=/usr/java/j2sdk1.4.2_02/jre/lib/ext/:$CLASSPATH
export JAVA_HOME
export JBOSS_HOME
export CLASSPATH
PATH=$JAVA_HOME/bin:$PATH
PATH=/usr/apache-ant-1.6.2/bin:$PATH
#PATH=/usr/local/mysql/bin: $PATH
次序问题。
export JBOSS_HOME
export CLASSPATH
PATH=$JAVA_HOME/bin:$PATH
PATH=/usr/apache-ant-1.6.2/bin:$PATH
#PATH=/usr/local/mysql/bin:
次序问题。