Install the License Server as a Windows Service

  1. Download the Windows installer of the license server from the URL provided in the registration email message containing your floating license key.
  2. Run the downloaded installer.
  3. Enable the Windows service on the machine that hosts the license server, either during installation or at a later time with the service management batch scripts (installWindowsService.bat).

    If you want to install, start, stop and uninstall manually the server as a Windows service you must run the following scripts from command line. On Windows Vista and Windows 7 you have to run the commands as Administrator.

    • installWindowsService.bat [serviceName] - install the server as a Windows service with the name serviceName. The parameters for the license key folder and the server port can be set in the oXygenLicenseServer.vmoptions file.
    • startWindowsService.bat [serviceName] - start the Windows service.
    • stopWindowsService.bat [serviceName] - stop the Windows service.
    • uninstallWindowsService.bat [serviceName] - uninstall the Windows service.
    Note: If you do not provide the serviceName argument, the default name, oXygenLicenseServer, is used.

When the license server is used as a Windows service the output and error messages are redirected automatically to the following log files created in the install folder:

Note: Before starting the server, the JAVA_HOME variable must point to the home folder of a Java runtime environment installed on your Windows system.
Note:

On Windows Vista and Windows 7 if you want to start or stop the Windows service with the Start menu shortcut called Start Windows service / Stop Windows service you have to run the shortcut as Administrator.