You can use following content to build a java program.
test.sh
{{{
#!/bin/bash
CP=.
for path in $(find gridportal/projects/gcp/lib/** -name *.jar);
do
CP="$CP:$path"
done
CP="$CP:/usr/local/GVSS-1.0.3/opt/gap/lib/cog-1.4/jce-jdk13-131.jar"
#echo $CP
javac -classpath $CP VQSClientTestBean.java
java -classpath $CP VQSClientTestBean
}}}
沒有留言:
張貼留言