see if you can use this link to reconfigure your NT startup command/params

http://wrapper.tanukisoftware.org/doc/english/props-envvars.html

-D


On 8/2/07, Oscar Picasso <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I want the builds launched by continuum to use jdk1.5 while the default in
> my windows machine is jdk1.4.
>
> When doing a manual start with run.bat it can be done by setting the
> JAVA_HOME in run.bat like that:
>
> [...]
> rem At runtime, the current directory will be that of Wrapper.exe
> rem
> :startup
> set JAVA_HOME=D:\Programs\jdk1.5.0_07
> "%_APP_HOME%wrapper.exe" -c %_WRAPPER_CONF%
> if not errorlevel 1 goto end
> pause
> [...]
>
>
> However I am not able to do that when installing continuum as a service.
>
> I have tried to change the InstallService.bat with:
> [...]
> :startup
> set JAVA_HOME=D:\Programs\jdk1.5.0_07
> "Wrapper.exe" -i %_WRAPPER_CONF%
> if not errorlevel 1 goto end
> pause
>
> :end
> [...]
>
> but the builds in that case still use jkd1.4.
>
>
> Any idea ?
>
> Thanks
>
> Oscar
>

Reply via email to