61ff249987
2008/05/14 07:07:08 cn 1.6.226.3: #i87389# add solver lib path tp classpath 2008/03/24 19:25:16 cn 1.6.226.2: #i86871# use local variables 2008/03/05 15:18:32 cn 1.6.226.1: #i86692# change connection to named pipe
21 lines
624 B
Bash
Executable file
21 lines
624 B
Bash
Executable file
#!/bin/sh
|
|
|
|
JARFOLDER=$SOLARVERSION/$INPATH/bin$UPDMINOREXT
|
|
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
|
|
|
|
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
|
|
|
|
PARAM="-cs pipe,name=$USER"
|
|
|
|
COMMAND="$JAVABIN -Xmx120m -cp $myCLASSPATH org.openoffice.Runner $PARAM $*"
|
|
echo $COMMAND
|
|
$COMMAND
|