Install as windows service

2007-03-29 Thread John Riley
Hi, Is it possible to install the binary as a windows service running on
a specific JRE? That is, not the JRE specified by JAVA_HOME. /John


Re: Install as windows service

2007-03-29 Thread Niklas Gustavsson

Hi John

John Riley wrote:

Hi, Is it possible to install the binary as a windows service running on
a specific JRE? That is, not the JRE specified by JAVA_HOME. /John


The easiest way is probably to set the JAVA_HOME variable locally in 
service.bat. Make sure you add it below:


if "%OS%" == "Windows_NT" setlocal

Please report back with your results and I'll update our docs.

/niklas



Re: Re: Install as windows service

2007-04-12 Thread John Riley
It worked out perfectly. Thanks!

  - Original Message -
  From: "Niklas Gustavsson"
  To: [EMAIL PROTECTED]
  Subject: Re: Install as windows service
  Date: Thu, 29 Mar 2007 16:11:29 +0200


  Hi John

  John Riley wrote:
  > Hi, Is it possible to install the binary as a windows service
  running on
  > a specific JRE? That is, not the JRE specified by JAVA_HOME. /John

  The easiest way is probably to set the JAVA_HOME variable locally
  in service.bat. Make sure you add it below:

  if "%OS%" == "Windows_NT" setlocal

  Please report back with your results and I'll update our docs.

  /niklas