PKGBUILDs/community/aqua-data-studio/datastudio.run

22 lines
442 B
Text
Raw Normal View History

2009-10-10 02:15:33 +00:00
#!/bin/bash
ADS_HOME="`dirname $0`/../lib/datastudio"
for j in ${ADS_HOME}/lib/*.jar; do
export CLASSPATH="${j}:${CLASSPATH}"
done
unset j
if test x${JDBC_DIR} = x; then
JDBC_DIR="/usr/local/lib/jdbc"
fi
if test `ls ${JDBC_DIR}/*.jar 2>/dev/null | wc -l` != 0; then
for j in ${JDBC_DIR}/*.jar; do
export CLASSPATH=${j}:${CLASSPATH}
done
fi
unset j
exec java ${JAVA_OPTS} -cp "${CLASSPATH}" com.aquafold.datastudio.DataStudio