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