I followed every step, but I can start the solr service. It says 'paused.
https://www.norconex.com/how-to-run-solr5-as-a-service-on-windows/
I get the following error:
I was also running with same problem. Solr service was installed successfully. Then it got paused and tried resuming but it throws an alert to check with administrator. I checked Java version and Java-Home path both were correct. Then I reinstall the service but again it got into same situation. Later I found out on article which say to use:
start -f -p 8983
to use in argument while installation and it did the trick now it is working fine. So basically when you run commnad
nssm install <solrSerivceName>
it prompt for NSSM service installer
It installed solr service and solr service run well now.