Apache Solr logo

Apache Solr is an open-source enterprise-search platform, written in Java, from the Apache Lucene project.

Apache Solr can be run as a Windows service using FireDaemon Pro. This allows you to start and run the application automatically when Windows boots and before login. FireDaemon Pro also allows you to start multiple instances of the server, monitoring them and automatically restarting those instances in the event they crash. FireDaemon Fusion can also be used to manage your Apache Solr service, plus other Windows services via your web browser.

Apache Solr Setup Under FireDaemon Pro

Please follow the steps below to set up an Apache Solr as a Windows service with FireDaemon Pro

Step 1: Download and Install Java

You need to install java but there are 2 options:

  1. Java Server (JRE): This has performance optimizations but you need to create a (free) oracle.com account to download it. You can download the latest Windows x64 JRE from the java website near the middle of the page. Extract the contents of the zip to your hard drive, for the purposes of this guide we will use "C:\jdk-9.0.4". The folder name will be different if you're using a different Java version.
  2. Java SE: This does not have performance optimizations and you don't need a (free) oracle.com account to download it. You can download the latest Windows x64 SE from the java website near the top of the page.

For the purposes of this HOWTO, we will use Jave Server (JRE).

Depending on which version of Java you installed and if it was the zip version then you also need to do one of these:

If you downloaded the Jave Server (JRE) zip, open a command prompt as administrator and type:

setx JAVA_HOME "C:\jdk-9.0.4"

If you downloaded the Jave SE (JSE) zip, open a command prompt as administrator and type:

setx JRE_HOME "C:\jre-9.0.4"
Note: The Java path in the above examples will change if you installed a different version of Java so correct as necessary.

Then restart Windows

Step 2: Download and Install Apache Solr

  1. Download from here. Make sure you get the latest binary zip release.
  2. Extract the zip someplace on your hard drive. For the purposes of this guide we will use: "C:\solr-8.7.0". The folder name will be different if you're using a different version.

Step 3: Set Up Apache Solr as a FireDaemon Pro Service

Download and install FireDaemon Pro. Double click the FireDaemon Pro icon on your desktop, then click on the New (i.e. +) button in the toolbar (or type Ctrl + N) to create a new service. Enter the information into the fields as you see below. Adjust the path names to suit your installation. Note the required parameters.

FireDaemon Pro Apache Solr Dedicated Server Service Program Tab

The most important field on the tab is the Parameters. The Parameters define the initial setup of your server. The full parameter list should be as follows:

  • start Starts the server.

Next, click on the FireDaemon Pro Settings tab:

FireDaemon Pro Apache Solr service settings

Enter appropriate values in the fields on the Settings tab as follows:

  • (Required) Job Type: You must set job type to "Global Job".
  • (Required) Logon Account: Enter the Windows account under which the application is to be run, e.g. the current administrator account.
  • Password / Confirm Password:  Enter the logon account's password twice.
  • (Optional) Interact with Desktop: If this setting is enabled (default), the application's output messages can be seen in the console window on Windows Session 0. To switch to Session 0, it may be necessary to install FireDaemon Zero and ZeroInput. Alternatively, this setting may be disabled, in which case the application's messages will be hidden.
  • (Optional) Priority: To allocate more CPU time to the application, select a higher scheduling priority in this field.
  • (Optional) CPU Bindings: To run the application on a specific CPU, specify the appropriate CPU in this field.

Next, click on the Lifecycle tab. Set Shutdown By to Forceful Termination and check "Console Program".

FireDaemon Pro Apache Solr lifecycle settings

Lastly, click the Save and Close (ie. the tick) button on the toolbar. If the service's Startup Type is set to Automatic or Automatic (Delayed-Start), it will start immediately.

FireDaemon Pro Services list

If the service's Interact with Desktop setting is enabled, the Apache Solr status can also be verified by switching to Windows Session 0 to view the Apache Solr's messages.

Apache Solr messages window

Now click OK to finish setup and start Apache Solr! You can access Apache Solr's web interface by visiting


Apache Solr messages window