Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Install-Service.bat file - Double click this file to install the service.
  • Configure-Service.bat - Double-click this file to edit the Shutdown/Startup mode and set both of them to Java instead of jvm if installing on a Windows x64 system. Change the name of the service if desired. See below:
  • Monitor-Service.bat - Double-click this file to monitor the bundle service.
  • Remove-Service.bat - removes the service. You may have to close the Windows Services panel and reopen it to see the change.

 will run as a Windows Service whether you are using the Development Kit (JDK)  versions 1.6 or 1.7 or Java Runtime Environment (JRE) versions 6 or 7.

  •  Refer to JDK/JRE Prerequisite for the details.
  • If you downloaded the JRE then make sure that the JRE_HOME environment variable is set to the installation directory of your JRE for example, C:\Program Files\Java\jre7. Refer to JDK/JRE Prerequisite for the details.

Follow these steps to install  as a Windows Service:

  1. Add JAVA_HOME  or JRE_HOME Home as a system Environment Variable and PATH Environment Variable with the appropriate values. Here are the steps:
    1. Right-click the My Computer icon on your desktop and select 'Properties'.
    2. Click the 'Advanced' tab. For Windows 7, it will be an Advanced system settings icon..
    3. Click the 'Environment Variables' button.
    4. Under 'System Variables', click 'New'.
      1.  If you are using the Java Development Kit
        1. Enter the variable name as JAVA_HOME
      .
        1. Set the variable value for JAVA_HOME to the installation directory of your JDK, for example, c:\Program Files\Java\jdk1.7.0_09. Click 'OK'.
      1. If you are using the Java Runtime Environment
        1. Enter the variable name as JRE_HOME
        2. Set the variable value for JRE_HOME to the installation directory of your JRE, for example, C:\Program Files\Java\jre7. Click 'OK'.

g. Locate the PATH Environment Variable. Click the Edit button and append %JAVA_HOME%\bin or %JRE_HOME%\bin to the end of path.

...