Shell 启动java程序

#!/bin/sh
SHELL_PATH=$(cd "$(dirname "$0")";pwd)
echo $SHELL_PATH
cd "$SHELL_PATH"
CLASSPATH=./compileAPK.jar:./log4j-1.2.15.jar:./commons-beanutils-1.8.3.jar:./commons-codec-1.6.jar:./commons-collections-3.2.jar:./commons-lang-2.5.jar:./commons-logging-1.1.3.jar:./httpclient-4.3.jar:./httpclient-cache-4.3.1.jar:./httpcore-4.3.jar:./httpmime-4.3.1.jar

java -classpath "$CLASSPATH" cn.refineit.ProgressMain

 

posted @ 2013-10-31 14:26  有妄想症的猫zz  阅读(3160)  评论(0编辑  收藏  举报