...
- 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:
- Add JAVA_HOME or JRE_HOME Home as a system Environment Variable and PATH Environment Variable with the appropriate values. Here are the steps:
- Right-click the My Computer icon on your desktop and select 'Properties'.
- Click the 'Advanced' tab. For Windows 7, it will be an Advanced system settings icon..
- Click the 'Environment Variables' button.
- Under 'System Variables', click 'New'.
- If you are using the Java Development Kit
- Enter the variable name as JAVA_HOME
- 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'.
- If you are using the Java Runtime Environment
- Enter the variable name as JRE_HOME
- Set the variable value for JRE_HOME to the installation directory of your JRE, for example, C:\Program Files\Java\jre7. Click 'OK'.
- If you are using the Java Development Kit
g. Locate the PATH Environment Variable. Click the Edit button and append %JAVA_HOME%\bin or %JRE_HOME%\bin to the end of path.
...