#!/bin/sh CLASSPATH="." #CLASSPATH. for jarfile in $(ls lib/.); do CLASSPATH="${CLASSPATH}:lib/$jarfile" done echo ***begin*** echo ${CLASSPATH} java -Xms512m -Xmx1024m -cp ${CLASSPATH} com.ydrh.webservice.test.SmsTest