linux在sh中运行java程序

sh文件内容:

LIB=./lib
for jar in $LIB/*.*
do
CLASSPATH=$CLASSPATH:$jar
done
$JAVA_HOME/bin/java -cp ${CLASSPATH} com.brenda.runJava

相关推荐