continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oscar Picasso" <oscarpica...@gmail.com>
Subject Setting home in continuum windows service
Date Thu, 02 Aug 2007 15:30:17 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message