2003-11-18 09:07:18 -06:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
SET JARFOLDER=%SOLARVERSION%\%INPATH%\bin%UPDMINOREXT%
|
2004-07-23 09:10:16 -05:00
|
|
|
SET CLASSPATH=%JARFOLDER%\OOoRunner.jar;%JARFOLDER%\ridl.jar;%JARFOLDER%\unoil.jar;%JARFOLDER%\jurt.jar;%JARFOLDER%\juh.jar;%JARFOLDER%\java_uno.jar
|
2003-11-18 09:07:18 -06:00
|
|
|
|
2007-07-24 07:31:02 -05:00
|
|
|
IFF "%JAVAI%" != "" THEN
|
|
|
|
SET JAVABIN=%JAVAI%
|
|
|
|
ELSEIFF "%JAVA_HOME%" != "" THEN
|
|
|
|
SET JAVABIN=%JAVA_HOME%\bin\java
|
|
|
|
ELSE
|
|
|
|
echo please set environment variable JAVA_HOME
|
|
|
|
exit 1
|
|
|
|
ENDIFF
|
|
|
|
|
|
|
|
set COMMAND=%JAVABIN% -Xmx120m -cp %CLASSPATH% org.openoffice.Runner %&
|
|
|
|
|
|
|
|
echo %COMMAND
|
|
|
|
%COMMAND
|