5 if [ "$GUI" = "WNT" ]; then
9 JARFOLDER
=$SOLARVERSION/$INPATH/bin
$UPDMINOREXT
10 SOLVER_LIB
=$SOLARVERSION/$INPATH/lib
$UPDMINOREXT
12 # it is possible to give an other OOoRunner.jar
13 if [ -n "$RUNNERJAR" ]; then
14 myCLASSPATH
=$RUNNERJAR
16 myCLASSPATH
=$JARFOLDER/OOoRunner.jar
19 myCLASSPATH
=$myCLASSPATH${PS}${JARFOLDER}/ridl.jar${PS}\
20 ${JARFOLDER}/unoil.jar
${PS}\
21 ${JARFOLDER}/jurt.jar
${PS}\
22 ${JARFOLDER}/juh.jar
${PS}\
23 ${JARFOLDER}/java_uno.jar
25 myCLASSPATH
=$myCLASSPATH${PS}\
26 /net
/unoapi
/export
/unoapi
/bin
/mysql.jar
${PS}\
29 if [ -n "$JAVAI" ]; then
31 elif [ -n "$JAVA_HOME" ]; then
32 if [ "$OS$CPUNAME$CPU" = SOLARISSPARCU
]; then
33 JAVABIN
=$JAVA_HOME/bin
/sparcv
9/java
35 JAVABIN
=$JAVA_HOME/bin
/java
38 # there seems to be some machines without real java
40 if [ -z "$JAVABIN" ]; then
41 echo "please set environment variable JAVA_HOME"
46 if [ x
${USER}x
= xx
]; then
47 if [ x
${LOGNAME}x
= xx
]; then
48 echo "ERROR: could not determine username. Please export variable USER" >&2
56 PARAM
="-cs pipe,name=$USER -SRC_ROOT $SRC_ROOT"
58 if [ -n "$RUNNERPROPS" ]; then
59 PARAM
="$PARAM -runnerini $RUNNERPROPS"
63 if [ -n "$DEBUGAPI" ]; then
64 export DEBUGAPI
="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=9002,suspend=y"
65 DEBUG_THE_API
=$DEBUGAPI
68 COMMAND
="$JAVABIN -Xmx120m $DEBUG_THE_API -cp $myCLASSPATH org.openoffice.Runner $PARAM $*"
71 # if COMMAND fails, it returns also the exitcode