Monday, February 1, 2010

Adding Jars to your CLASSPATH in linux

export CLASSPATH=/space/mol.jar:$CLASSPATH
for j in $JMETER_HOME/lib/*.jar; do
CLASSPATH=$j:$CLASSPATH
echo $j
done


Note: This script initially adds the /space/mol.jar to the classpath.After than it adds all jars under the $JMETER_HOME/lib directory to the classpath.

No comments:

Post a Comment