#!/bin/sh
export JAVA_HOME=/var/lib/java
export PROJECT_HOME=/home/runner/***/WebRoot/WEB-INF
export PATH=$JAVA_HOME/jre/bin:$PATH
export CLASSPATH=$JAVA_HOME/jre/lib:$PROJECT_HOME/classes:$CLASSPATH
# add all the jar
for loop in `ls $PROJECT_HOME/lib/*.jar`;do
export CLASSPATH=${loop}:${CLASSPATH}
done
java com.****.java
阅读(7914) | 评论(0) | 转发(0) |