Running the Nexus IQ Server as a Service on Windows

This knowledge base article provides instructions for running the Nexus IQ Server as a service under Windows.  If you want to run the Nexus IQ Server as a service on Linux please see our installation guide.

New Nexus IQ Server Install as a Windows Service

  1. Ensure you have already installed the latest JDK from Oracle on the target system and the system meets our other system requirements.
  2. Download and extract the file attached to this article into a directory path that does not contain spaces.
  3. Replace the extracted conf/config.yml with the config.yml file from current Nexus IQ server installation (be sure to check the "sonatypeWork" property in the copied version to make sure it is correct).
  4. Copy the nexus-iq-server-<version>.jar file from your installation into the "lib" directory.
  5. Note: Do not copy the nexus-iq-cli-<version>.jar file into that directory. That is the command line scanner, and it cannot be on the class path of IQ Server.
  6. The service will run as the SYSTEM user. IQ server requires use of a temporary directory to perform some work.

    The SYSTEM user will use "%systemroot%\System32\config\systemprofile\Temp" as it's temporary directory.

    On some versions of Windows this directory does not exist by default. Make sure that this directory exists. Create it manually if it does not.
  7. Using an administrative user, run ".\bin\clm install".
  8. Using an administrative user, run ".\bin\clm start" to start the windows service, or start it through the services UI.
  9. Verify that on restarting the host, that the application will successfully restart itself.
Have more questions? Submit a request


Article is closed for comments.