linux下java汎用起動スクリプト
join()
{
LINE=''
while [ $# -ne 0 ]
do
LINE=$LINE:./lib/$1
shift
done
echo $LINE >> lib.txt
}
FILES=`ls ./lib`
join $FILES
CLASSPATH=`cat lib.txt`
rm -f lib.txt
export CLASSPATH
ulimit -n 65535
/usr/java/jdk1.6.0_03/bin/java