2003-10-06 06:29:37 -05:00
|
|
|
#!/bin/sh
|
2003-11-18 09:07:00 -06:00
|
|
|
|
2003-10-06 06:29:37 -05:00
|
|
|
JARFOLDER=$SOLARVERSION/$INPATH/bin$UPDMINOREXT
|
2008-06-13 06:28:33 -05:00
|
|
|
SOLVER_LIB=$SOLARVERSION/$INPATH/lib$UPDMINOREXT
|
|
|
|
myCLASSPATH=$JARFOLDER/OOoRunner.jar:$JARFOLDER/ridl.jar:$JARFOLDER/unoil.jar:$JARFOLDER/jurt.jar:$JARFOLDER/juh.jar:$JARFOLDER/java_uno.jar
|
|
|
|
myCLASSPATH=$myCLASSPATH:$SOLVER_LIB:/net/unoapi/export/unoapi/bin/mysql.jar
|
2007-07-24 07:30:49 -05:00
|
|
|
|
|
|
|
if [ -n "$JAVAI" ]; then
|
|
|
|
JAVABIN=$JAVAI
|
|
|
|
elif [ -n "$JAVA_HOME" ]; then
|
|
|
|
JAVABIN=$JAVA_HOME/bin/java
|
|
|
|
else
|
|
|
|
echo "please set environment variable JAVA_HOME"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2008-06-13 06:28:33 -05:00
|
|
|
PARAM="-cs pipe,name=$USER"
|
|
|
|
|
|
|
|
COMMAND="$JAVABIN -Xmx120m -cp $myCLASSPATH org.openoffice.Runner $PARAM $*"
|
|
|
|
echo $COMMAND
|
|
|
|
$COMMAND
|