Source

woocode / sa-auto / sh / java_env.sh

Full commit
#!/bin/sh

#APP_SH=$(dirname $0)

. /apps/sh/app_env.sh

ulimit -s 20480

JAVA_HOME=/apps/svr/jdk;export JAVA_HOME;

CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib
CLASSPATH=$CLASSPATH:/apps/java/classes/abc
CLASSPATH=$CLASSPATH:/apps/java/classes/fehot
CLASSPATH=$CLASSPATH:/apps/java/classes/feurs
#CLASSPATH=$CLASSPATH:/apps/java/classes/fetip
CLASSPATH=$CLASSPATH:/apps/java/classes/cms
CLASSPATH=$CLASSPATH:/apps/java/classes/xbase

CLASSPATH=$CLASSPATH:/apps/java/jar/urs.jar
CLASSPATH=$CLASSPATH:/apps/java/jar/urscore.jar
CLASSPATH=$CLASSPATH:/apps/java/jar/commons-codec-1.3.jar
CLASSPATH=$CLASSPATH:/apps/java/jar/jaxen-1.1-beta-6.jar

CLASSPATH=$CLASSPATH:/apps/java/jar/postgresql-8.4-702.jdbc3.jar

CLASSPATH=$CLASSPATH:/apps/java/jar/commons-httpclient-3.0-rc2.jar
CLASSPATH=$CLASSPATH:/apps/java/jar/velocity-dep-1.4.jar
CLASSPATH=$CLASSPATH:/apps/java/jar/commons-logging.jar
CLASSPATH=$CLASSPATH:/apps/java/jar/log4j-1.2.8.jar
CLASSPATH=$CLASSPATH:/apps/java/jar/dom4j-1.6.1.jar
CLASSPATH=$CLASSPATH:/apps/java/jar/lucene-core-3.0.1.jar
CLASSPATH=$CLASSPATH:/apps/java/jar/dwr.jar
CLASSPATH=$CLASSPATH:/apps/java/jar/mail.jar
#CLASSPATH=$CLASSPATH:/apps/java/jar/jsch-0.1.42.jar
CLASSPATH=$CLASSPATH:/apps/java/jar/jsch-0.1.45.jar

CLASSPATH=$CLASSPATH:/apps/java/jar/mysql-connector-java-5.0.8-bin.jar
CLASSPATH=$CLASSPATH:/apps/java/jar/htmlparser.jar
CLASSPATH=$CLASSPATH:/apps/java/jar/commons-beanutils.jar
CLASSPATH=$CLASSPATH:/apps/java/jar/json-lib-2.3-jdk15.jar
CLASSPATH=$CLASSPATH:/apps/java/jar/ezmorph-1.0.6.jar
CLASSPATH=$CLASSPATH:/apps/java/jar/commons-lang.jar
CLASSPATH=$CLASSPATH:/apps/java/jar/commons-collections-3.2.1.jar
CLASSPATH=$CLASSPATH:/apps/java/jar/hessian-4.0.7.jar

CLASSPATH=$CLASSPATH:/apps/lib/jmagick/lib/jmagick-6.5.7.jar

export CLASSPATH;

XCONF=/apps/java/classes/xbase/xbase.conf;export XCONF;

LD_LIBRARY_PATH=/apps/lib/felib:/apps/lib/jmagick/lib:/apps/lib/ImageMagick/lib;
export LD_LIBRARY_PATH LANG;



#echo $CLASSPATH
#echo $LD_LIBRARY_PATH LANG;

#LANG=zh_CN.eucCN;export LANG;
#LC_ALL=zh_CN.eucCN;export LC_ALL;
#LANG=zh_CN.GBK;export LANG;
#LC_ALL=zh_CN.GBK;export LC_ALL;

#CLASSPATH=$CLASSPATH:/apps/java/jar/postgresql-8.0-314.jdbc3.jar
#CLASSPATH=$CLASSPATH:/apps/java/jar/postgresql-8.3-604.jdbc3.jar
#CLASSPATH=$CLASSPATH:/apps/java/jar/postgresql-8.3-604.jdbc4.jar
#CLASSPATH=$CLASSPATH:/apps/java/jar/ssh_jar/j2ssh-ant-0.2.9.jar
#CLASSPATH=$CLASSPATH:/apps/java/jar/ssh_jar/j2ssh-core-0.2.9.jar
#CLASSPATH=$CLASSPATH:/apps/java/jar/ssh_jar/j2ssh-common-0.2.9.jar
#CLASSPATH=$CLASSPATH:/apps/java/jar/ssh_jar/j2ssh-daemon-0.2.9.jar